pub struct InterceptorLayer { /* private fields */ }Implementations§
Source§impl InterceptorLayer
impl InterceptorLayer
pub fn new(interceptor: SharedInterceptor) -> Self
Trait Implementations§
Source§impl Clone for InterceptorLayer
impl Clone for InterceptorLayer
Source§fn clone(&self) -> InterceptorLayer
fn clone(&self) -> InterceptorLayer
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 moreSource§impl<S> Layer<S> for InterceptorLayer
impl<S> Layer<S> for InterceptorLayer
Auto Trait Implementations§
impl !RefUnwindSafe for InterceptorLayer
impl !UnwindSafe for InterceptorLayer
impl Freeze for InterceptorLayer
impl Send for InterceptorLayer
impl Sync for InterceptorLayer
impl Unpin for InterceptorLayer
impl UnsafeUnpin for InterceptorLayer
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