pub trait ReloadHandle<L> {
// Required methods
fn current(&self) -> Option<L>;
fn reload(&self, new_value: L) -> Result<(), Error>;
}Expand description
Type-erased interface to a tracing subscriber reload handle.
The subscriber type in reload::Handle<L, S> depends on preceding layers
and can include unnameable impl Trait types. This interface hides S so
handles can be stored as trait objects.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".