Configuration

Trait Configuration 

Source
pub trait Configuration:
    Default
    + Send
    + Sync
    + Debug
    + 'static {
    const NAME: &'static str;

    // Required methods
    fn ctx(&self) -> &CfgContext;
    fn set_ctx(&mut self, ctx: CfgContext);
}

Required Associated Constants§

Source

const NAME: &'static str

Required Methods§

Source

fn ctx(&self) -> &CfgContext

Source

fn set_ctx(&mut self, ctx: CfgContext)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§