pub struct AsyncResponse<T>(/* private fields */);
Expand description
Message response resulting in an asynchronous Request
.
The sender must be placed on the interface in FromMessage::from_message
.
See FromMessage
and Service
for implementation advice and examples.
Trait Implementations§
source§impl<T> Debug for AsyncResponse<T>
impl<T> Debug for AsyncResponse<T>
source§impl<T> MessageResponse for AsyncResponse<T>
impl<T> MessageResponse for AsyncResponse<T>
Auto Trait Implementations§
impl<T> Freeze for AsyncResponse<T>
impl<T> RefUnwindSafe for AsyncResponse<T>where
T: RefUnwindSafe,
impl<T> Send for AsyncResponse<T>where
T: Send,
impl<T> Sync for AsyncResponse<T>where
T: Sync,
impl<T> Unpin for AsyncResponse<T>where
T: Unpin,
impl<T> UnwindSafe for AsyncResponse<T>where
T: 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