pub trait HostIncomingChannel: Sized + Send {
// Required methods
fn data(
&mut self,
self_: Resource<IncomingChannel>,
) -> Result<Option<Resource<InputStream>>>;
fn index(
&mut self,
self_: Resource<IncomingChannel>,
path: Vec<u32>,
) -> Result<Result<Resource<IncomingChannel>, Resource<Error>>>;
fn drop(&mut self, rep: Resource<IncomingChannel>) -> Result<()>;
}
Required Methods§
fn data( &mut self, self_: Resource<IncomingChannel>, ) -> Result<Option<Resource<InputStream>>>
fn index( &mut self, self_: Resource<IncomingChannel>, path: Vec<u32>, ) -> Result<Result<Resource<IncomingChannel>, Resource<Error>>>
fn drop(&mut self, rep: Resource<IncomingChannel>) -> 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.