Struct mas_tower::IdentityLayer
source · pub struct IdentityLayer<R> { /* private fields */ }
Expand description
A no-op layer that has the request type bound.
Trait Implementations§
source§impl<R: Clone> Clone for IdentityLayer<R>
impl<R: Clone> Clone for IdentityLayer<R>
source§fn clone(&self) -> IdentityLayer<R>
fn clone(&self) -> IdentityLayer<R>
Returns a copy 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<R: Debug> Debug for IdentityLayer<R>
impl<R: Debug> Debug for IdentityLayer<R>
source§impl<R> Default for IdentityLayer<R>
impl<R> Default for IdentityLayer<R>
source§impl<R, S> Layer<S> for IdentityLayer<R>
impl<R, S> Layer<S> for IdentityLayer<R>
impl<R: Copy> Copy for IdentityLayer<R>
Auto Trait Implementations§
impl<R> Freeze for IdentityLayer<R>
impl<R> RefUnwindSafe for IdentityLayer<R>where
R: RefUnwindSafe,
impl<R> Send for IdentityLayer<R>where
R: Send,
impl<R> Sync for IdentityLayer<R>where
R: Sync,
impl<R> Unpin for IdentityLayer<R>where
R: Unpin,
impl<R> UnwindSafe for IdentityLayer<R>where
R: 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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)