pub struct ErrorOnly<E>(pub PhantomData<E>);Tuple Fields§
§0: PhantomData<E>Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for ErrorOnly<E>
impl<E> RefUnwindSafe for ErrorOnly<E>where
E: RefUnwindSafe,
impl<E> Send for ErrorOnly<E>where
E: Send,
impl<E> Sync for ErrorOnly<E>where
E: Sync,
impl<E> Unpin for ErrorOnly<E>where
E: Unpin,
impl<E> UnwindSafe for ErrorOnly<E>where
E: 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