Struct sod::ServiceMut
source · pub struct ServiceMut<I, S> { /* private fields */ }Expand description
A MutService that encapsulates an underlying Service, exposing it as mut.
Any Service should be able to be represented as a MutService which simply does not mutate itself.
Implementations§
Trait Implementations§
source§impl<I, S: Service<I>> From<S> for ServiceMut<I, S>
impl<I, S: Service<I>> From<S> for ServiceMut<I, S>
Auto Trait Implementations§
impl<I, S> RefUnwindSafe for ServiceMut<I, S>where S: RefUnwindSafe,
impl<I, S> Send for ServiceMut<I, S>where S: Send,
impl<I, S> Sync for ServiceMut<I, S>where S: Sync,
impl<I, S> Unpin for ServiceMut<I, S>where S: Unpin,
impl<I, S> UnwindSafe for ServiceMut<I, S>where S: 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