fidl::epitaph

Trait ChannelEpitaphExt

Source
pub trait ChannelEpitaphExt {
    // Required method
    fn close_with_epitaph(self, status: Status) -> Result<(), Error>;
}
Expand description

Extension trait that provides Channel-like objects with the ability to send a FIDL epitaph.

Required Methods§

Source

fn close_with_epitaph(self, status: Status) -> Result<(), Error>

Consumes the channel and writes an epitaph.

Implementors§