Trait Host

pub trait Host: 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>

Implementations on Foreign Types§

§

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

§

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

§

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

§

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

Implementors§