pub struct CryptDeviceFormatBuilder { /* private fields */ }Expand description
Struct containing state for the format() builder
Implementations§
Source§impl CryptDeviceFormatBuilder
impl CryptDeviceFormatBuilder
Sourcepub fn iteration_time(self, iteration_time_ms: u64) -> Self
pub fn iteration_time(self, iteration_time_ms: u64) -> Self
Set the iteration time for the PBKDF2 function. Note that this does not affect the MK iterations.
Sourcepub fn rng_type(self, rng_type: crypt_rng_type) -> Self
pub fn rng_type(self, rng_type: crypt_rng_type) -> Self
Set the random number generator to use
Auto Trait Implementations§
impl Freeze for CryptDeviceFormatBuilder
impl RefUnwindSafe for CryptDeviceFormatBuilder
impl !Send for CryptDeviceFormatBuilder
impl !Sync for CryptDeviceFormatBuilder
impl Unpin for CryptDeviceFormatBuilder
impl UnwindSafe for CryptDeviceFormatBuilder
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> 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