pub struct TextSend_Responder { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Debug for TextSend_Responder
impl Debug for TextSend_Responder
source§impl Drop for TextSend_Responder
impl Drop for TextSend_Responder
Set the the channel to be shutdown (see TextControlHandle::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 TextSend_Responder
impl Responder for TextSend_Responder
§type ControlHandle = TextControlHandle
type ControlHandle = TextControlHandle
The control handle for this protocol.
source§fn control_handle(&self) -> &TextControlHandle
fn control_handle(&self) -> &TextControlHandle
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