pub trait ToKeySecure {
// Required method
fn to_keysecure(
&self,
password: Password,
) -> Result<KeySecure, KeySecureError>;
}Expand description
ToKeySecure is a base trait / interface used to save an object
to the encrypted format using KeySecure format
Required Methods§
fn to_keysecure(&self, password: Password) -> Result<KeySecure, KeySecureError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".