Skip to main content

ConfigProvider

Trait ConfigProvider 

Source
pub trait ConfigProvider:
    Debug
    + MaybeSend
    + MaybeSync {
    // Required method
    fn server_configuration(&self) -> &ServerConfiguration;
}
Expand description

One immutable configuration, read by every consumer in section 6.4.

A provider never touches the database. The snapshot is resolved once at build and handed to the client whole.

Required Methods§

Implementors§