pub trait Configurable { type Config; // Required methods fn configure(&mut self, config: Self::Config) -> Result<()>; fn config(&self) -> &Self::Config; }
Configurable trait for objects with configuration
Configuration type
Configure the object
Get current configuration