Skip to main content

LogFactory

Trait LogFactory 

Source
pub trait LogFactory: Send + Sync {
    // Required method
    fn create(&self, session_id: &SessionId) -> Result<Box<dyn Log>>;
}

Required Methods§

Source

fn create(&self, session_id: &SessionId) -> Result<Box<dyn Log>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§