Trait cfxstore::accounts_dir::KeyFileManager
source · pub trait KeyFileManager: Send + Sync {
// Required methods
fn read<T>(
&self,
filename: Option<String>,
reader: T
) -> Result<SafeAccount, Error>
where T: Read;
fn write<T>(
&self,
account: SafeAccount,
writer: &mut T
) -> Result<(), Error>
where T: Write;
}
Expand description
Disk directory key file manager
Required Methods§
Object Safety§
This trait is not object safe.