pub trait HostOutgoingChannel: Sized + Send {
// 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<()>;
}
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<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.