Enum rustls::internal::msgs::enums::SignatureAlgorithm[][src]

pub enum SignatureAlgorithm {
    Anonymous,
    RSA,
    DSA,
    ECDSA,
    ED25519,
    ED448,
    Unknown(u8),
}

The SignatureAlgorithm TLS protocol enum. Values in this enum are taken from the various RFCs covering TLS, and are listed by IANA. The Unknown item is used when processing unrecognised ordinals.

Variants

Anonymous
RSA
DSA
ECDSA
ED25519
ED448
Unknown(u8)

Implementations

impl SignatureAlgorithm[src]

pub fn get_u8(&self) -> u8[src]

Trait Implementations

impl Clone for SignatureAlgorithm[src]

impl Codec for SignatureAlgorithm[src]

impl Copy for SignatureAlgorithm[src]

impl Debug for SignatureAlgorithm[src]

impl Eq for SignatureAlgorithm[src]

impl PartialEq<SignatureAlgorithm> for SignatureAlgorithm[src]

impl StructuralEq for SignatureAlgorithm[src]

impl StructuralPartialEq for SignatureAlgorithm[src]

Auto Trait Implementations

impl RefUnwindSafe for SignatureAlgorithm[src]

impl Send for SignatureAlgorithm[src]

impl Sync for SignatureAlgorithm[src]

impl Unpin for SignatureAlgorithm[src]

impl UnwindSafe for SignatureAlgorithm[src]

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.