pub struct WithState<State, Service> { /* private fields */ }
Available on crate feature
tower
only.Expand description
Trait Implementations§
Source§impl<OState, State, Srv> Service<(OState, Event)> for WithState<State, Srv>
impl<OState, State, Srv> Service<(OState, Event)> for WithState<State, Srv>
Auto Trait Implementations§
impl<State, Service> Freeze for WithState<State, Service>where
Service: Freeze,
impl<State, Service> RefUnwindSafe for WithState<State, Service>where
Service: RefUnwindSafe,
State: RefUnwindSafe,
impl<State, Service> Send for WithState<State, Service>
impl<State, Service> Sync for WithState<State, Service>
impl<State, Service> Unpin for WithState<State, Service>where
Service: Unpin,
impl<State, Service> UnwindSafe for WithState<State, Service>where
Service: UnwindSafe,
State: 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