pub trait UserWithPassphrase: Debug {
// Required methods
fn user(&self) -> String;
fn passphrase(&self) -> &Passphrase;
}
Expand description
An abstraction for a user with a passphrase.
Required Methods§
Sourcefn passphrase(&self) -> &Passphrase
fn passphrase(&self) -> &Passphrase
Returns the passphrase of the user.