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§
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.