pub enum ErrorType<T> {
Full(Option<T>),
Closed(Option<T>),
Timeout(Option<T>),
}
Variants§
Trait Implementations§
impl<T: Eq> Eq for ErrorType<T>
impl<T> StructuralPartialEq for ErrorType<T>
Auto Trait Implementations§
impl<T> Freeze for ErrorType<T>where
T: Freeze,
impl<T> RefUnwindSafe for ErrorType<T>where
T: RefUnwindSafe,
impl<T> Send for ErrorType<T>where
T: Send,
impl<T> Sync for ErrorType<T>where
T: Sync,
impl<T> Unpin for ErrorType<T>where
T: Unpin,
impl<T> UnwindSafe for ErrorType<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