pub struct InterceptorLayer<I: Interception>(pub Arc<I>);
Tuple Fields§
§0: Arc<I>
Trait Implementations§
Source§impl<I: Clone + Interception> Clone for InterceptorLayer<I>
impl<I: Clone + Interception> Clone for InterceptorLayer<I>
Source§fn clone(&self) -> InterceptorLayer<I>
fn clone(&self) -> InterceptorLayer<I>
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<S, I: Interception> Layer<S> for InterceptorLayer<I>
impl<S, I: Interception> Layer<S> for InterceptorLayer<I>
Auto Trait Implementations§
impl<I> Freeze for InterceptorLayer<I>
impl<I> RefUnwindSafe for InterceptorLayer<I>where
I: RefUnwindSafe,
impl<I> Send for InterceptorLayer<I>
impl<I> Sync for InterceptorLayer<I>
impl<I> Unpin for InterceptorLayer<I>
impl<I> UnwindSafe for InterceptorLayer<I>where
I: RefUnwindSafe,
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