pub enum PasswordKdfAlgo {
Unknown,
Sha256Sha256Pbkdf2Hmacsha512iter100000Sha256ModPow(PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512iter100000Sha256ModPow),
}Expand description
Variants§
Unknown
Sha256Sha256Pbkdf2Hmacsha512iter100000Sha256ModPow(PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512iter100000Sha256ModPow)
Trait Implementations§
Source§impl Clone for PasswordKdfAlgo
impl Clone for PasswordKdfAlgo
Source§fn clone(&self) -> PasswordKdfAlgo
fn clone(&self) -> PasswordKdfAlgo
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 moreSource§impl Debug for PasswordKdfAlgo
impl Debug for PasswordKdfAlgo
Source§impl Deserializable for PasswordKdfAlgo
impl Deserializable for PasswordKdfAlgo
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512iter100000Sha256ModPow> for PasswordKdfAlgo
impl From<PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512iter100000Sha256ModPow> for PasswordKdfAlgo
Source§fn from(
x: PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512iter100000Sha256ModPow,
) -> Self
fn from( x: PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512iter100000Sha256ModPow, ) -> Self
Converts to this type from the input type.
Source§impl From<PasswordKdfAlgoUnknown> for PasswordKdfAlgo
impl From<PasswordKdfAlgoUnknown> for PasswordKdfAlgo
Source§fn from(_x: PasswordKdfAlgoUnknown) -> Self
fn from(_x: PasswordKdfAlgoUnknown) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PasswordKdfAlgo
impl PartialEq for PasswordKdfAlgo
Source§impl Serializable for PasswordKdfAlgo
impl Serializable for PasswordKdfAlgo
Source§impl TryFrom<PasswordKdfAlgo> for PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512iter100000Sha256ModPow
impl TryFrom<PasswordKdfAlgo> for PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512iter100000Sha256ModPow
Source§type Error = PasswordKdfAlgo
type Error = PasswordKdfAlgo
The type returned in the event of a conversion error.
impl StructuralPartialEq for PasswordKdfAlgo
Auto Trait Implementations§
impl Freeze for PasswordKdfAlgo
impl RefUnwindSafe for PasswordKdfAlgo
impl Send for PasswordKdfAlgo
impl Sync for PasswordKdfAlgo
impl Unpin for PasswordKdfAlgo
impl UnsafeUnpin for PasswordKdfAlgo
impl UnwindSafe for PasswordKdfAlgo
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