pub enum ResolutionResult {
Found(Name),
Ambiguous(Vec<Name>),
NotFound,
DepthExceeded,
}Expand description
Outcome of a single instance resolution attempt.
Variants§
Found(Name)
A unique instance was found.
Ambiguous(Vec<Name>)
Multiple candidate instances with equal priority.
NotFound
No instance found.
DepthExceeded
Search exceeded the depth limit.
Trait Implementations§
Source§impl Clone for ResolutionResult
impl Clone for ResolutionResult
Source§fn clone(&self) -> ResolutionResult
fn clone(&self) -> ResolutionResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolutionResult
impl Debug for ResolutionResult
Source§impl PartialEq for ResolutionResult
impl PartialEq for ResolutionResult
impl StructuralPartialEq for ResolutionResult
Auto Trait Implementations§
impl Freeze for ResolutionResult
impl RefUnwindSafe for ResolutionResult
impl Send for ResolutionResult
impl Sync for ResolutionResult
impl Unpin for ResolutionResult
impl UnsafeUnpin for ResolutionResult
impl UnwindSafe for ResolutionResult
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