pub struct Request<Req, Res> { /* private fields */ }Expand description
Represents a request sent to a Actor.
Request holds the data sent to a Actor and provides a channel to reply back to the sender.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Req, Res> Freeze for Request<Req, Res>where
Req: Freeze,
impl<Req, Res> RefUnwindSafe for Request<Req, Res>where
Req: RefUnwindSafe,
impl<Req, Res> Send for Request<Req, Res>
impl<Req, Res> Sync for Request<Req, Res>
impl<Req, Res> Unpin for Request<Req, Res>where
Req: Unpin,
impl<Req, Res> UnsafeUnpin for Request<Req, Res>where
Req: UnsafeUnpin,
impl<Req, Res> UnwindSafe for Request<Req, Res>where
Req: 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