pub struct PanicSafeLayer;Expand description
A marker type representing the panic-safe layer.
Satisfies Clone + Send + Sync + 'static tower bounds for use as middleware.
Trait Implementations§
Source§impl Clone for PanicSafeLayer
impl Clone for PanicSafeLayer
Source§fn clone(&self) -> PanicSafeLayer
fn clone(&self) -> PanicSafeLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PanicSafeLayer
impl RefUnwindSafe for PanicSafeLayer
impl Send for PanicSafeLayer
impl Sync for PanicSafeLayer
impl Unpin for PanicSafeLayer
impl UnsafeUnpin for PanicSafeLayer
impl UnwindSafe for PanicSafeLayer
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