Enum tls_parser::tls_extensions::TlsExtension
[−]
[src]
pub enum TlsExtension<'a> {
StatusRequest(u8, &'a [u8]),
SNI(Vec<(u8, &'a [u8])>),
EllipticCurves(Vec<u16>),
EcPointFormats(&'a [u8]),
SignatureAlgorithms(Vec<(u8, u8)>),
SessionTicket(&'a [u8]),
Heartbeat(u8),
Unknown(u16, &'a [u8]),
}Variants
StatusRequest(u8, &'a [u8])SNI(Vec<(u8, &'a [u8])>)EllipticCurves(Vec<u16>)EcPointFormats(&'a [u8])SignatureAlgorithms(Vec<(u8, u8)>)SessionTicket(&'a [u8])Heartbeat(u8)Unknown(u16, &'a [u8])Trait Implementations
impl<'a> Clone for TlsExtension<'a>[src]
fn clone(&self) -> TlsExtension<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> PartialEq for TlsExtension<'a>[src]
fn eq(&self, __arg_0: &TlsExtension<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TlsExtension<'a>) -> bool
This method tests for !=.