pub struct OnDirectMessageUpdated<Service, Fallback, Req> { /* private fields */ }
Available on crate feature
tower
only.Expand description
DirectMessageUpdatedPayload
をhandleするService
です。
Trait Implementations§
Source§impl<Service: Clone, Fallback: Clone, Req: Clone> Clone for OnDirectMessageUpdated<Service, Fallback, Req>
impl<Service: Clone, Fallback: Clone, Req: Clone> Clone for OnDirectMessageUpdated<Service, Fallback, Req>
Source§fn clone(&self) -> OnDirectMessageUpdated<Service, Fallback, Req>
fn clone(&self) -> OnDirectMessageUpdated<Service, Fallback, Req>
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<Service: Debug, Fallback: Debug, Req: Debug> Debug for OnDirectMessageUpdated<Service, Fallback, Req>
impl<Service: Debug, Fallback: Debug, Req: Debug> Debug for OnDirectMessageUpdated<Service, Fallback, Req>
Source§impl<State, Service, Fallback> Service<(State, Event)> for OnDirectMessageUpdated<Service, Fallback, (State, DirectMessageUpdatedPayload)>
impl<State, Service, Fallback> Service<(State, Event)> for OnDirectMessageUpdated<Service, Fallback, (State, DirectMessageUpdatedPayload)>
Source§type Future = Either<WrapErrorFuture<<Service as Service<(State, DirectMessageUpdatedPayload)>>::Future, <Service as Service<(State, DirectMessageUpdatedPayload)>>::Error>, <Fallback as Service<(State, Event)>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<(State, DirectMessageUpdatedPayload)>>::Future, <Service as Service<(State, DirectMessageUpdatedPayload)>>::Error>, <Fallback as Service<(State, Event)>>::Future>
The future response value.
Source§impl<State, Service, Fallback> Service<(State, Event)> for OnDirectMessageUpdated<Service, Fallback, DirectMessageUpdatedPayload>
impl<State, Service, Fallback> Service<(State, Event)> for OnDirectMessageUpdated<Service, Fallback, DirectMessageUpdatedPayload>
Source§type Future = Either<WrapErrorFuture<<Service as Service<DirectMessageUpdatedPayload>>::Future, <Service as Service<DirectMessageUpdatedPayload>>::Error>, <Fallback as Service<(State, Event)>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<DirectMessageUpdatedPayload>>::Future, <Service as Service<DirectMessageUpdatedPayload>>::Error>, <Fallback as Service<(State, Event)>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnDirectMessageUpdated<Service, Fallback, DirectMessageUpdatedPayload>
impl<Service, Fallback> Service<Event> for OnDirectMessageUpdated<Service, Fallback, DirectMessageUpdatedPayload>
Source§type Future = Either<WrapErrorFuture<<Service as Service<DirectMessageUpdatedPayload>>::Future, <Service as Service<DirectMessageUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<DirectMessageUpdatedPayload>>::Future, <Service as Service<DirectMessageUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Auto Trait Implementations§
impl<Service, Fallback, Req> Freeze for OnDirectMessageUpdated<Service, Fallback, Req>
impl<Service, Fallback, Req> RefUnwindSafe for OnDirectMessageUpdated<Service, Fallback, Req>
impl<Service, Fallback, Req> Send for OnDirectMessageUpdated<Service, Fallback, Req>
impl<Service, Fallback, Req> Sync for OnDirectMessageUpdated<Service, Fallback, Req>
impl<Service, Fallback, Req> Unpin for OnDirectMessageUpdated<Service, Fallback, Req>
impl<Service, Fallback, Req> UnwindSafe for OnDirectMessageUpdated<Service, Fallback, Req>
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