[−][src]Enum rustls::internal::msgs::enums::ServerNameType
pub enum ServerNameType { HostName, Unknown(u8), }
The ServerNameType
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
Unknown(u8)
Methods
impl ServerNameType
[src][−]
Trait Implementations
impl Clone for ServerNameType
[src][+]
impl Codec for ServerNameType
[src][+]
impl Copy for ServerNameType
[src]
impl Debug for ServerNameType
[src][+]
impl Eq for ServerNameType
[src]
impl PartialEq<ServerNameType> for ServerNameType
[src][+]
impl StructuralEq for ServerNameType
[src]
impl StructuralPartialEq for ServerNameType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ServerNameType
impl Send for ServerNameType
impl Sync for ServerNameType
impl Unpin for ServerNameType
impl UnwindSafe for ServerNameType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,