Skip to main content

Context

Trait Context 

Source
pub trait Context {
    // Required method
    fn router(&self) -> Arc<Router>;
}

Required Methods§

Source

fn router(&self) -> Arc<Router>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§