Trait Host

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

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§