pub trait ClientEnvironment {
// Required methods
fn get_salted_password(&self, salt: &[u8], iterations: usize) -> Sha256Out;
fn generate_nonce(&self) -> String;
}Required Methods§
fn get_salted_password(&self, salt: &[u8], iterations: usize) -> Sha256Out
fn generate_nonce(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".