pub struct WritableWriteResponder { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Debug for WritableWriteResponder
impl Debug for WritableWriteResponder
Source§impl Drop for WritableWriteResponder
impl Drop for WritableWriteResponder
Set the the channel to be shutdown (see WritableControlHandle::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 WritableWriteResponder
impl Responder for WritableWriteResponder
Source§type ControlHandle = WritableControlHandle
type ControlHandle = WritableControlHandle
The control handle for this protocol.
Source§fn control_handle(&self) -> &WritableControlHandle
fn control_handle(&self) -> &WritableControlHandle
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 WritableWriteResponder
impl !RefUnwindSafe for WritableWriteResponder
impl Send for WritableWriteResponder
impl Sync for WritableWriteResponder
impl Unpin for WritableWriteResponder
impl !UnwindSafe for WritableWriteResponder
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