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