pub trait Configurable {
type Config;
// Required method
fn config(&self) -> &Self::Config;
}Expand description
Configurable trait for types that can be configured with another type, denoted by
Configurable::Config.
pub trait Configurable {
type Config;
// Required method
fn config(&self) -> &Self::Config;
}Configurable trait for types that can be configured with another type, denoted by
Configurable::Config.