Trait fidl::epitaph::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§