Enum StudyLoadOutcome
pub enum StudyLoadOutcome {
Loaded(StudyId),
NotFound,
Conflict,
}Expand description
The result of resolving a study name through StudyCatalog::find_by_name.
Variants§
Loaded(StudyId)
Exactly one study had the requested name.
NotFound
No study had the requested name.
Conflict
More than one study had the requested name; no identity was selected.
Trait Implementations§
§impl Clone for StudyLoadOutcome
impl Clone for StudyLoadOutcome
§fn clone(&self) -> StudyLoadOutcome
fn clone(&self) -> StudyLoadOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StudyLoadOutcome
§impl Debug for StudyLoadOutcome
impl Debug for StudyLoadOutcome
impl Eq for StudyLoadOutcome
§impl PartialEq for StudyLoadOutcome
impl PartialEq for StudyLoadOutcome
impl StructuralPartialEq for StudyLoadOutcome
Auto Trait Implementations§
impl Freeze for StudyLoadOutcome
impl RefUnwindSafe for StudyLoadOutcome
impl Send for StudyLoadOutcome
impl Sync for StudyLoadOutcome
impl Unpin for StudyLoadOutcome
impl UnsafeUnpin for StudyLoadOutcome
impl UnwindSafe for StudyLoadOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more