pub struct PrimaryFlushResponder { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Debug for PrimaryFlushResponder
impl Debug for PrimaryFlushResponder
Source§impl Drop for PrimaryFlushResponder
impl Drop for PrimaryFlushResponder
Set the the channel to be shutdown (see PrimaryControlHandle::shutdown
)
if the responder is dropped without sending a response, so that the client
doesn’t hang. To prevent this behavior, call drop_without_shutdown
.
Source§impl Responder for PrimaryFlushResponder
impl Responder for PrimaryFlushResponder
Source§type ControlHandle = PrimaryControlHandle
type ControlHandle = PrimaryControlHandle
The control handle for this protocol.
Source§fn control_handle(&self) -> &PrimaryControlHandle
fn control_handle(&self) -> &PrimaryControlHandle
Returns the
ControlHandle
for this protocol.Source§fn drop_without_shutdown(self)
fn drop_without_shutdown(self)
Drops the responder without setting the channel to shutdown. Read more
Auto Trait Implementations§
impl Freeze for PrimaryFlushResponder
impl !RefUnwindSafe for PrimaryFlushResponder
impl Send for PrimaryFlushResponder
impl Sync for PrimaryFlushResponder
impl Unpin for PrimaryFlushResponder
impl !UnwindSafe for PrimaryFlushResponder
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