pub enum HashingAlgorithm {
Argon2id(i32),
Blake3Balloon(i32),
}Expand description
This is in place to make Keyslot handling a lot easier
You may use the constants ARGON2ID_LATEST and BLAKE3BALLOON_LATEST for defining versions
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HashingAlgorithm
impl Clone for HashingAlgorithm
Source§fn clone(&self) -> HashingAlgorithm
fn clone(&self) -> HashingAlgorithm
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 Display for HashingAlgorithm
impl Display for HashingAlgorithm
Source§impl PartialEq for HashingAlgorithm
impl PartialEq for HashingAlgorithm
impl Copy for HashingAlgorithm
impl Eq for HashingAlgorithm
impl StructuralPartialEq for HashingAlgorithm
Auto Trait Implementations§
impl Freeze for HashingAlgorithm
impl RefUnwindSafe for HashingAlgorithm
impl Send for HashingAlgorithm
impl Sync for HashingAlgorithm
impl Unpin for HashingAlgorithm
impl UnwindSafe for HashingAlgorithm
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