scsys-config 0.3.2

common configuration routines and schemas used throughout the ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
    Appellation: configure <module>
    Contrib: @FL03
*/
/// The [`RawConfiguration`] trait defines the base representation format for all
/// configuration schemas.
pub trait RawConfiguration {}

/// [`Configuration`] is used to establish a common interface for all configuration types.
pub trait Configuration: RawConfiguration {}

/// [`Configurable`] trait for types that can be configured with another type, denoted by
/// [Configurable::Config].
pub trait Configurable {
    type Config;

    fn config(&self) -> &Self::Config;
}