#[non_exhaustive]pub enum KdfArgument<'a> {
Key(&'a [u8]),
Salt(&'a [u8]),
KbInfo(&'a [u8]),
KbSeed(&'a [u8]),
R(u8),
UseSeparator(bool),
UseL(bool),
LBits(u8),
Mac(KdfMacType),
KbMode(KdfKbMode),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Key(&'a [u8])
Salt(&'a [u8])
KbInfo(&'a [u8])
KbSeed(&'a [u8])
R(u8)
UseSeparator(bool)
UseL(bool)
LBits(u8)
Mac(KdfMacType)
KbMode(KdfKbMode)
Trait Implementations§
Source§impl<'a> Clone for KdfArgument<'a>
impl<'a> Clone for KdfArgument<'a>
Source§fn clone(&self) -> KdfArgument<'a>
fn clone(&self) -> KdfArgument<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for KdfArgument<'a>
impl<'a> RefUnwindSafe for KdfArgument<'a>
impl<'a> Send for KdfArgument<'a>
impl<'a> Sync for KdfArgument<'a>
impl<'a> Unpin for KdfArgument<'a>
impl<'a> UnwindSafe for KdfArgument<'a>
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