pub enum Error<T = ()> {
OutOfBounds,
UnknownEnum(T),
}Variants§
Implementations§
Trait Implementations§
impl<T> Copy for Error<T>where
T: Copy,
impl<T> Eq for Error<T>where
T: Eq,
impl<T> StructuralPartialEq for Error<T>where
T: PartialEq,
Auto Trait Implementations§
impl<T> Freeze for Error<T>where
T: Freeze,
impl<T> RefUnwindSafe for Error<T>where
T: RefUnwindSafe,
impl<T> Send for Error<T>where
T: Send,
impl<T> Sync for Error<T>where
T: Sync,
impl<T> Unpin for Error<T>where
T: Unpin,
impl<T> UnsafeUnpin for Error<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Error<T>where
T: UnwindSafe,
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