pub trait ReloadState:
Send
+ Sync
+ Sized
+ 'static {
// Required method
fn reload<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided method
fn reload_config_reader(&self) -> Option<&ConfigReader> { ... }
}Required Methods§
fn reload<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provided Methods§
Sourcefn reload_config_reader(&self) -> Option<&ConfigReader>
fn reload_config_reader(&self) -> Option<&ConfigReader>
Optional configuration catalog for explicit targeted and broadcast reloads. The registry prepares the addressed owners before calling application/component hooks, and acknowledges each candidate only after successful application. States without configuration retain the ordinary lifecycle-only path.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".