pub trait LocalNodeConfigExt {
// Required methods
fn config(&self) -> &LocalNodeConfig;
fn read_yaml<R: Read>(reader: R) -> Result<LocalNodeConfig, Error>;
fn to_yaml_string(&self) -> Result<String, Error>;
fn write_yaml<W: Write>(&self, write: W) -> Result<(), Error>;
fn create_cell_node_config(&self, roles: Vec<Role>) -> CellNodeConfig;
fn add_cell(&mut self, cell: NodeCellConfig);
}Expand description
Extension for LocalNodeConfig proto.
Required Methods§
fn config(&self) -> &LocalNodeConfig
fn read_yaml<R: Read>(reader: R) -> Result<LocalNodeConfig, Error>
fn to_yaml_string(&self) -> Result<String, Error>
fn write_yaml<W: Write>(&self, write: W) -> Result<(), Error>
fn create_cell_node_config(&self, roles: Vec<Role>) -> CellNodeConfig
fn add_cell(&mut self, cell: NodeCellConfig)
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.