Struct tls_parser::TlsHandshakeType
source · pub struct TlsHandshakeType(pub u8);Expand description
Handshake type
Handshake types are defined in RFC5246 and the IANA HandshakeType Registry
Tuple Fields§
§0: u8Implementations§
source§impl TlsHandshakeType
impl TlsHandshakeType
pub const HelloRequest: TlsHandshakeType = _
pub const ClientHello: TlsHandshakeType = _
pub const ServerHello: TlsHandshakeType = _
pub const HelloVerifyRequest: TlsHandshakeType = _
pub const NewSessionTicket: TlsHandshakeType = _
pub const EndOfEarlyData: TlsHandshakeType = _
pub const HelloRetryRequest: TlsHandshakeType = _
pub const EncryptedExtensions: TlsHandshakeType = _
pub const Certificate: TlsHandshakeType = _
pub const ServerKeyExchange: TlsHandshakeType = _
pub const CertificateRequest: TlsHandshakeType = _
pub const ServerDone: TlsHandshakeType = _
pub const CertificateVerify: TlsHandshakeType = _
pub const ClientKeyExchange: TlsHandshakeType = _
pub const Finished: TlsHandshakeType = _
pub const CertificateURL: TlsHandshakeType = _
pub const CertificateStatus: TlsHandshakeType = _
pub const KeyUpdate: TlsHandshakeType = _
pub const NextProtocol: TlsHandshakeType = _
Trait Implementations§
source§impl Clone for TlsHandshakeType
impl Clone for TlsHandshakeType
source§fn clone(&self) -> TlsHandshakeType
fn clone(&self) -> TlsHandshakeType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TlsHandshakeType
impl Debug for TlsHandshakeType
source§impl Display for TlsHandshakeType
impl Display for TlsHandshakeType
source§impl From<TlsHandshakeType> for u8
impl From<TlsHandshakeType> for u8
source§fn from(v: TlsHandshakeType) -> u8
fn from(v: TlsHandshakeType) -> u8
Converts to this type from the input type.
source§impl<'nom> Parse<&'nom [u8]> for TlsHandshakeType
impl<'nom> Parse<&'nom [u8]> for TlsHandshakeType
source§impl PartialEq for TlsHandshakeType
impl PartialEq for TlsHandshakeType
impl Copy for TlsHandshakeType
impl Eq for TlsHandshakeType
impl StructuralPartialEq for TlsHandshakeType
Auto Trait Implementations§
impl Freeze for TlsHandshakeType
impl RefUnwindSafe for TlsHandshakeType
impl Send for TlsHandshakeType
impl Sync for TlsHandshakeType
impl Unpin for TlsHandshakeType
impl UnwindSafe for TlsHandshakeType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)