pub struct ResponseHandle(/* private fields */);
Expand description
Handle for enqueued Response
.
This handle can be used to track the sending progress. After a Response
was enqueued via
Server::enqueue_data
or Server::enqueue_status
it is in the process of being
sent until Server::next
returns a Event::ResponseSent
with the
corresponding handle.
Trait Implementations§
Source§impl Clone for ResponseHandle
impl Clone for ResponseHandle
Source§fn clone(&self) -> ResponseHandle
fn clone(&self) -> ResponseHandle
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 Debug for ResponseHandle
impl Debug for ResponseHandle
Source§impl Hash for ResponseHandle
impl Hash for ResponseHandle
Source§impl PartialEq for ResponseHandle
impl PartialEq for ResponseHandle
impl Copy for ResponseHandle
impl Eq for ResponseHandle
impl StructuralPartialEq for ResponseHandle
Auto Trait Implementations§
impl Freeze for ResponseHandle
impl RefUnwindSafe for ResponseHandle
impl Send for ResponseHandle
impl Sync for ResponseHandle
impl Unpin for ResponseHandle
impl UnwindSafe for ResponseHandle
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