Skip to main content

Context

Trait Context 

Source
pub trait Context {
    // Required methods
    fn objects(&self) -> &dyn ObjectServer;
    fn log(&self, msg: &str);
}

Required Methods§

Source

fn objects(&self) -> &dyn ObjectServer

Доступ к подсистеме объектов

Source

fn log(&self, msg: &str)

Логирование (можно вынести в отдельную подсистему позже)

Implementors§