pub trait Responder {
type ControlHandle: ControlHandle;
// Required methods
fn control_handle(&self) -> &Self::ControlHandle;
fn drop_without_shutdown(self);
}
Expand description
A type associated with a particular two-way FIDL method, used by servers to send a response to the client.
Required Associated Types§
sourcetype ControlHandle: ControlHandle
type ControlHandle: ControlHandle
The control handle for this protocol.
Required Methods§
sourcefn control_handle(&self) -> &Self::ControlHandle
fn control_handle(&self) -> &Self::ControlHandle
Returns the ControlHandle
for this protocol.
sourcefn drop_without_shutdown(self)
fn drop_without_shutdown(self)
Drops the responder without setting the channel to shutdown.
This method shouldn’t normally be used. Instead, send a response to prevent the channel from shutting down.