pub enum AlgorithmFamily {
Hmac,
Rsa,
Ec,
Ed,
}Expand description
Supported families of algorithms.
Variants§
Hmac
HMAC shared secret family.
Rsa
RSA-based public key family.
Ec
Edwards curve public key family.
Ed
Elliptic curve public key family.
Implementations§
Source§impl AlgorithmFamily
impl AlgorithmFamily
Sourcepub fn algorithms(&self) -> &[Algorithm]
pub fn algorithms(&self) -> &[Algorithm]
A list of all possible Algorithms that are part of the family.
Trait Implementations§
Source§impl Clone for AlgorithmFamily
impl Clone for AlgorithmFamily
Source§fn clone(&self) -> AlgorithmFamily
fn clone(&self) -> AlgorithmFamily
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 AlgorithmFamily
impl Debug for AlgorithmFamily
Source§impl<'de> Deserialize<'de> for AlgorithmFamily
impl<'de> Deserialize<'de> for AlgorithmFamily
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AlgorithmFamily
impl PartialEq for AlgorithmFamily
Source§impl Serialize for AlgorithmFamily
impl Serialize for AlgorithmFamily
impl Copy for AlgorithmFamily
impl Eq for AlgorithmFamily
impl StructuralPartialEq for AlgorithmFamily
Auto Trait Implementations§
impl Freeze for AlgorithmFamily
impl RefUnwindSafe for AlgorithmFamily
impl Send for AlgorithmFamily
impl Sync for AlgorithmFamily
impl Unpin for AlgorithmFamily
impl UnwindSafe for AlgorithmFamily
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