pub enum HashAlgorithmChoice {
Sha256,
Sha384,
Sha512,
}Variants§
Implementations§
Source§impl HashAlgorithmChoice
impl HashAlgorithmChoice
pub fn to_cose_algorithm(&self) -> HashAlgorithm
Trait Implementations§
Source§impl Clone for HashAlgorithmChoice
impl Clone for HashAlgorithmChoice
Source§fn clone(&self) -> HashAlgorithmChoice
fn clone(&self) -> HashAlgorithmChoice
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 HashAlgorithmChoice
impl Debug for HashAlgorithmChoice
Source§impl ValueEnum for HashAlgorithmChoice
impl ValueEnum for HashAlgorithmChoice
Auto Trait Implementations§
impl Freeze for HashAlgorithmChoice
impl RefUnwindSafe for HashAlgorithmChoice
impl Send for HashAlgorithmChoice
impl Sync for HashAlgorithmChoice
impl Unpin for HashAlgorithmChoice
impl UnwindSafe for HashAlgorithmChoice
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