pub struct LayerErrorFn<F>(/* private fields */);
Expand description
A MakeLayerError
implementation that
returns a new error value every time.
Trait Implementations§
Source§impl<F> Clone for LayerErrorFn<F>where
F: Clone,
impl<F> Clone for LayerErrorFn<F>where
F: Clone,
Source§impl<F> Debug for LayerErrorFn<F>where
F: Debug,
impl<F> Debug for LayerErrorFn<F>where
F: Debug,
Source§impl<F, E> MakeLayerError for LayerErrorFn<F>
impl<F, E> MakeLayerError for LayerErrorFn<F>
Auto Trait Implementations§
impl<F> Freeze for LayerErrorFn<F>where
F: Freeze,
impl<F> RefUnwindSafe for LayerErrorFn<F>where
F: RefUnwindSafe,
impl<F> Send for LayerErrorFn<F>where
F: Send,
impl<F> Sync for LayerErrorFn<F>where
F: Sync,
impl<F> Unpin for LayerErrorFn<F>where
F: Unpin,
impl<F> UnwindSafe for LayerErrorFn<F>where
F: 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