pub enum Error<T, E> {
CyclicDep(Vec<T>),
UserDef(E),
}
Expand description
An error type.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T, E> Freeze for Error<T, E>where
E: Freeze,
impl<T, E> RefUnwindSafe for Error<T, E>where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E> Send for Error<T, E>
impl<T, E> Sync for Error<T, E>
impl<T, E> Unpin for Error<T, E>
impl<T, E> UnwindSafe for Error<T, E>where
E: UnwindSafe,
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