pub struct Responder<Resp> { /* private fields */ }
Expand description
Responds to a single request with a value.
Implementations§
Auto Trait Implementations§
impl<Resp> Freeze for Responder<Resp>
impl<Resp> !RefUnwindSafe for Responder<Resp>
impl<Resp> Send for Responder<Resp>where
Resp: Send,
impl<Resp> Sync for Responder<Resp>where
Resp: Send,
impl<Resp> Unpin for Responder<Resp>
impl<Resp> !UnwindSafe for Responder<Resp>
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