pub struct LayerErrorStatic<E>(/* private fields */);
Expand description
A MakeLayerError
implementation that
always returns clone of the same error value.
Trait Implementations§
Source§impl<E> Clone for LayerErrorStatic<E>where
E: Clone,
impl<E> Clone for LayerErrorStatic<E>where
E: Clone,
Source§impl<E> Debug for LayerErrorStatic<E>where
E: Debug,
impl<E> Debug for LayerErrorStatic<E>where
E: Debug,
Auto Trait Implementations§
impl<E> Freeze for LayerErrorStatic<E>where
E: Freeze,
impl<E> RefUnwindSafe for LayerErrorStatic<E>where
E: RefUnwindSafe,
impl<E> Send for LayerErrorStatic<E>where
E: Send,
impl<E> Sync for LayerErrorStatic<E>where
E: Sync,
impl<E> Unpin for LayerErrorStatic<E>where
E: Unpin,
impl<E> UnwindSafe for LayerErrorStatic<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