pub trait DynStorage<E: Debug> {
    fn read_custom(&mut self, s: &dyn Storage<ErrorType = E>) -> Result<(), E>;
    fn write_custom(
        &mut self,
        s: &mut dyn Storage<ErrorType = E>
    ) -> Result<(), E>; fn exit_custom(&mut self, s: &mut dyn Storage<ErrorType = E>); }
Expand description

Trait for Storage that implements methods that take dyn trait objects over owned selfs.

Required Methods

Reads the database from S and sets the owned database from &mut self to that read in database.

Writes the owned database to S

Exits the application

Implementors