CanLoadConfig

Trait CanLoadConfig 

Source
pub trait CanLoadConfig: HasConfigType + HasErrorType {
    // Required method
    fn load_config(
        &self,
    ) -> impl Future<Output = Result<Self::Config, Self::Error>> + Send;
}

Required Methods§

Source

fn load_config( &self, ) -> impl Future<Output = Result<Self::Config, Self::Error>> + Send

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§