pub enum BatchResolutionCause {
NotFound,
Ambiguous(Vec<AmbiguousMatch>),
}Expand description
Why a single input in a batch resolver call failed.
Variants§
NotFound
No entity matched the input.
Ambiguous(Vec<AmbiguousMatch>)
More than one entity matched. Carries the same match data an
Ambiguous single-resolver error would.
Trait Implementations§
Source§impl Clone for BatchResolutionCause
impl Clone for BatchResolutionCause
Source§fn clone(&self) -> BatchResolutionCause
fn clone(&self) -> BatchResolutionCause
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 moreSource§impl Debug for BatchResolutionCause
impl Debug for BatchResolutionCause
Auto Trait Implementations§
impl Freeze for BatchResolutionCause
impl RefUnwindSafe for BatchResolutionCause
impl Send for BatchResolutionCause
impl Sync for BatchResolutionCause
impl Unpin for BatchResolutionCause
impl UnsafeUnpin for BatchResolutionCause
impl UnwindSafe for BatchResolutionCause
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