Enum nix::sys::socket::TlsGetRecordType
source · #[non_exhaustive]#[repr(u8)]pub enum TlsGetRecordType {
ChangeCipherSpec,
Alert,
Handshake,
ApplicationData,
Unknown(u8),
}
Expand description
These constants correspond to TLS 1.2 message types, as defined in RFC 5246, Appendix A.1
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for TlsGetRecordType
impl Clone for TlsGetRecordType
source§fn clone(&self) -> TlsGetRecordType
fn clone(&self) -> TlsGetRecordType
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 TlsGetRecordType
impl Debug for TlsGetRecordType
source§impl From<u8> for TlsGetRecordType
impl From<u8> for TlsGetRecordType
source§impl PartialEq for TlsGetRecordType
impl PartialEq for TlsGetRecordType
impl Copy for TlsGetRecordType
impl Eq for TlsGetRecordType
impl StructuralPartialEq for TlsGetRecordType
Auto Trait Implementations§
impl Freeze for TlsGetRecordType
impl RefUnwindSafe for TlsGetRecordType
impl Send for TlsGetRecordType
impl Sync for TlsGetRecordType
impl Unpin for TlsGetRecordType
impl UnwindSafe for TlsGetRecordType
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
)