[][src]Enum http_signature_normalization::verify::Algorithm

pub enum Algorithm {
    Hs2019,
    Deprecated(DeprecatedAlgorithm),
    Unknown(String),
}

Kinds of algorithms

This library knows about HS2019 as a supported algorithm, and any other algorithms are either unknown at the time of writing, or deprecated

Variants

Hs2019

The only officially supported algorithm from the current HTTP Signatures specification

Algorithms that have been used historically, but are deprecated

Unknown(String)

Algorithms that may be used by custom implementations and are unknown to the spec

Trait Implementations

impl Clone for Algorithm[src]

impl Debug for Algorithm[src]

impl<'_> From<&'_ str> for Algorithm[src]

impl From<DeprecatedAlgorithm> for Algorithm[src]

impl From<String> for Algorithm[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.