Trait fidl::endpoints::Responder

source ·
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§

source

type ControlHandle: ControlHandle

The control handle for this protocol.

Required Methods§

source

fn control_handle(&self) -> &Self::ControlHandle

Returns the ControlHandle for this protocol.

source

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.

Implementors§