pub trait OptionsChangeTokenSource<TOptions> {
    fn token(&self) -> Box<dyn ChangeToken>;

    fn name(&self) -> Option<&str> { ... }
}
Expand description

Used to fetch ChangeToken used for tracking options changes.

Required Methods

Creates and returns a ChangeToken which can be used to register a change notification callback.

Provided Methods

Gets the name of the option instance being changed, if any.

Implementors