[][src]Enum rustls_extra::ApplicationLayerProtocolNegotiationProtocol

pub enum ApplicationLayerProtocolNegotiationProtocol {
    HTTP_0_9,
    HTTP_1_0,
    HTTP_1_1,
    SPDY_1,
    SPDY_2,
    SPDY_3,
    StunTurn,
    StunNatDiscovery,
    HTTP_2_over_TLS,
    HTTP_2_over_TCP,
    WebRTC,
    ConfidentialWebRTC,
    FTP,
    IMAP,
    POP3,
    ManageSieve,
    CoAP,
    XMPP_Client,
    XMPP_Server,
    Unofficial(Vec<u8>),
}

Variants

HTTP_0_9

HTTP/0.9 defined in RFC 1945.

HTTP_1_0

HTTP/1.0 defined in RFC 1945.

HTTP_1_1

HTTP/1.1 defined in RFC 7230.

SPDY_1SPDY_2SPDY_3StunTurn

Traversal Using Relays around NAT (TURN) defined in RFC 7443.

StunNatDiscovery

NAT discovery using Session Traversal Utilities for NAT (STUN) defined in RFC 7443.

HTTP_2_over_TLS

HTTP/2 over TLS defined in RFC 7540.

HTTP_2_over_TCP

HTTP/2 over TCP defined in RFC 7540.

NOTE: This identifier is for use within a cleartext version of a protocol and is not allowed to appear in a TLS ALPN negotiation.

WebRTC

WebRTC Media and Data defined in RFC-ietf-rtcweb-alpn-04.

ConfidentialWebRTC

Confidential WebRTC Media and Data defined in RFC-ietf-rtcweb-alpn-04.

FTP

FTP defined in RFC 959 and RFC 4217.

IMAP

IMAP defined in RFC 2595.

POP3

POP3 defined in RFC 2595.

ManageSieve

ManageSieve defined in RFC 5804.

CoAP

CoAP defined in RFC C8323.

XMPP_Client

XMPP jabber:client namespace defined in https://xmpp.org/extensions/xep-0368.html.

XMPP_Server

XMPP jabber:server namespace defined in https://xmpp.org/extensions/xep-0368.html.

Unofficial(Vec<u8>)

Unofficial

Methods

impl ApplicationLayerProtocolNegotiationProtocol[src]

pub fn to_vec(&self) -> Vec<u8>[src]

Converts to a string.

Trait Implementations

impl Eq for ApplicationLayerProtocolNegotiationProtocol[src]

impl Clone for ApplicationLayerProtocolNegotiationProtocol[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialOrd<ApplicationLayerProtocolNegotiationProtocol> for ApplicationLayerProtocolNegotiationProtocol[src]

impl PartialEq<ApplicationLayerProtocolNegotiationProtocol> for ApplicationLayerProtocolNegotiationProtocol[src]

impl Ord for ApplicationLayerProtocolNegotiationProtocol[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Hash for ApplicationLayerProtocolNegotiationProtocol[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for ApplicationLayerProtocolNegotiationProtocol[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]