pub trait HostOutgoingChannel {
// Required methods
fn data(
&mut self,
self_: Resource<OutgoingChannel>,
) -> Result<Option<Resource<OutputStream>>>;
fn index(
&mut self,
self_: Resource<OutgoingChannel>,
path: Vec<u32>,
) -> Result<Result<Resource<OutgoingChannel>, Resource<Error>>>;
fn drop(&mut self, rep: Resource<OutgoingChannel>) -> Result<()>;
}