Trait Host

Source
pub trait Host:
    Send
    + HostConnection
    + Sized
    + Send {
    // Required method
    fn convert_error(&mut self, err: Error) -> Result<Error>;
}

Required Methods§

Source

fn convert_error(&mut self, err: Error) -> Result<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§

Source§

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

Source§

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

Implementors§