Skip to main content

Context

Trait Context 

Source
pub trait Context {
    // Required methods
    fn config(&self) -> &Config;
    fn store(&self) -> Arc<Store> ;
}

Required Methods§

Source

fn config(&self) -> &Config

Source

fn store(&self) -> Arc<Store>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§