Skip to main content

Host

Trait Host 

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

Required Methods§

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

§

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

§

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

Implementors§