pub enum RecordContentType {
Invalid,
ChangeCipherSpec,
Alert,
Handshake,
ApplicationData,
}Expand description
TLS record content types used by outer and inner TLS 1.3 framing.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RecordContentType
impl Clone for RecordContentType
Source§fn clone(&self) -> RecordContentType
fn clone(&self) -> RecordContentType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecordContentType
impl Debug for RecordContentType
Source§impl PartialEq for RecordContentType
impl PartialEq for RecordContentType
Source§fn eq(&self, other: &RecordContentType) -> bool
fn eq(&self, other: &RecordContentType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RecordContentType
impl Eq for RecordContentType
impl StructuralPartialEq for RecordContentType
Auto Trait Implementations§
impl Freeze for RecordContentType
impl RefUnwindSafe for RecordContentType
impl Send for RecordContentType
impl Sync for RecordContentType
impl Unpin for RecordContentType
impl UnsafeUnpin for RecordContentType
impl UnwindSafe for RecordContentType
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