pub struct RouteGuardLayer(/* private fields */);Expand description
Layer that inserts RouteGuardConfig into request extensions.
Trait Implementations§
Source§impl Clone for RouteGuardLayer
impl Clone for RouteGuardLayer
Source§fn clone(&self) -> RouteGuardLayer
fn clone(&self) -> RouteGuardLayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RouteGuardLayer
impl Debug for RouteGuardLayer
Auto Trait Implementations§
impl Freeze for RouteGuardLayer
impl RefUnwindSafe for RouteGuardLayer
impl Send for RouteGuardLayer
impl Sync for RouteGuardLayer
impl Unpin for RouteGuardLayer
impl UnsafeUnpin for RouteGuardLayer
impl UnwindSafe for RouteGuardLayer
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