Trait Host

pub trait Host:
    Sized
    + Send
    + HostInputStream
    + HostOutputStream {
    // Required method
    fn convert_stream_error(
        &mut self,
        err: StreamError,
    ) -> Result<StreamError, Error>;
}

Required Methods§

fn convert_stream_error( &mut self, err: StreamError, ) -> Result<StreamError, Error>

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.

Implementations on Foreign Types§

§

impl<_T> Host for &mut _T
where _T: Host + Send + ?Sized,

§

fn convert_stream_error( &mut self, err: StreamError, ) -> Result<StreamError, Error>

Implementors§

§

impl<T> Host for IoImpl<T>
where T: IoView,