pub enum CliProfile {
Standard,
Paranoid,
Test,
}Expand description
The security profile as selected on the command line. Run with
--profiles for each profile’s key derivation parameters.
Variants§
Standard
OWASP-recommended key derivation (the default)
Paranoid
Maximum-cost key derivation; needs 1 GiB of free RAM per file
Test
For automated testing only — insecure, skips password strength checks
Trait Implementations§
Source§impl Clone for CliProfile
impl Clone for CliProfile
Source§fn clone(&self) -> CliProfile
fn clone(&self) -> CliProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CliProfile
Source§impl Debug for CliProfile
impl Debug for CliProfile
Source§impl Default for CliProfile
impl Default for CliProfile
Source§fn default() -> CliProfile
fn default() -> CliProfile
Returns the “default value” for a type. Read more
impl Eq for CliProfile
Source§impl From<CliProfile> for SecurityProfile
impl From<CliProfile> for SecurityProfile
Source§fn from(profile: CliProfile) -> Self
fn from(profile: CliProfile) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CliProfile
impl PartialEq for CliProfile
impl StructuralPartialEq for CliProfile
Source§impl ValueEnum for CliProfile
impl ValueEnum for CliProfile
Auto Trait Implementations§
impl Freeze for CliProfile
impl RefUnwindSafe for CliProfile
impl Send for CliProfile
impl Sync for CliProfile
impl Unpin for CliProfile
impl UnsafeUnpin for CliProfile
impl UnwindSafe for CliProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more