pub enum AlgorithmName {
HmacSha256,
EcdsaP256Sha256,
EcdsaP384Sha384,
Ed25519,
}Expand description
Algorithm names
Variants§
Implementations§
Trait Implementations§
Source§impl Debug for AlgorithmName
impl Debug for AlgorithmName
Source§impl Display for AlgorithmName
impl Display for AlgorithmName
Source§impl FromStr for AlgorithmName
impl FromStr for AlgorithmName
Source§type Err = HttpSigError
type Err = HttpSigError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<AlgorithmName, <AlgorithmName as FromStr>::Err>
fn from_str(s: &str) -> Result<AlgorithmName, <AlgorithmName as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for AlgorithmName
impl PartialEq for AlgorithmName
impl Eq for AlgorithmName
impl StructuralPartialEq for AlgorithmName
Auto Trait Implementations§
impl Freeze for AlgorithmName
impl RefUnwindSafe for AlgorithmName
impl Send for AlgorithmName
impl Sync for AlgorithmName
impl Unpin for AlgorithmName
impl UnwindSafe for AlgorithmName
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.