pub trait ChannelLike {
// Required method
fn write_epitaph(&self, bytes: &[u8]) -> Result<(), TransportError>;
}
Expand description
Indicates an object is “channel-like” in that it can receive epitaphs.
Required Methods§
Sourcefn write_epitaph(&self, bytes: &[u8]) -> Result<(), TransportError>
fn write_epitaph(&self, bytes: &[u8]) -> Result<(), TransportError>
Write an epitaph to a channel. Same as write_etc but is never fed handles.