pub trait Host {
    // Required method
    fn log(&mut self, level: Level, msg: String);
}
Available on crate feature runtime and crate feature component-model and docsrs only.

Required Methods§

source

fn log(&mut self, level: Level, msg: String)

Implementations on Foreign Types§

source§

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

source§

fn log(&mut self, level: Level, msg: String)

Implementors§