Trait HandlerOptions

Source
pub trait HandlerOptions:
    Default
    + Clone
    + Debug {
    type OptionItem: HandlerOption<Options = Self>;

    // Required method
    fn update(&mut self, option: Self::OptionItem);
}
Expand description

Set of HandlerOption s

Required Associated Types§

Source

type OptionItem: HandlerOption<Options = Self>

The element of this set

Required Methods§

Source

fn update(&mut self, option: Self::OptionItem)

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§