pub enum TakeOneError {
MultipleEntries,
}
Expand description
Error type for retrieving a single item from XsoVec
.
Variants§
MultipleEntries
More than one item was found.
Trait Implementations§
Source§impl Clone for TakeOneError
impl Clone for TakeOneError
Source§fn clone(&self) -> TakeOneError
fn clone(&self) -> TakeOneError
Returns a copy 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 TakeOneError
impl Debug for TakeOneError
Source§impl Display for TakeOneError
impl Display for TakeOneError
Source§impl Hash for TakeOneError
impl Hash for TakeOneError
Source§impl Ord for TakeOneError
impl Ord for TakeOneError
Source§fn cmp(&self, other: &TakeOneError) -> Ordering
fn cmp(&self, other: &TakeOneError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TakeOneError
impl PartialEq for TakeOneError
Source§impl PartialOrd for TakeOneError
impl PartialOrd for TakeOneError
impl Eq for TakeOneError
impl StructuralPartialEq for TakeOneError
Auto Trait Implementations§
impl Freeze for TakeOneError
impl RefUnwindSafe for TakeOneError
impl Send for TakeOneError
impl Sync for TakeOneError
impl Unpin for TakeOneError
impl UnwindSafe for TakeOneError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more