Struct ntex_service::Identity
source · [−]pub struct Identity;Expand description
Identity is a transform.
It returns service without modifications.
Trait Implementations
sourceimpl<S> Transform<S> for Identity
impl<S> Transform<S> for Identity
type Service = S
type Service = S
The TransformService value created by this factory
sourcefn new_transform(&self, service: S) -> Self::Service
fn new_transform(&self, service: S) -> Self::Service
Creates and returns a new Transform component, asynchronously
impl Copy for Identity
Auto Trait Implementations
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more