pub struct TlsContentType(/* private fields */);Expand description
A raw TLS TlsContentType value.
Implementations§
Source§impl TlsContentType
impl TlsContentType
Sourcepub const CHANGE_CIPHER_SPEC: Self
pub const CHANGE_CIPHER_SPEC: Self
The change_cipher_spec record content type.
Sourcepub const APPLICATION_DATA: Self
pub const APPLICATION_DATA: Self
The application_data record content type.
Trait Implementations§
Source§impl Clone for TlsContentType
impl Clone for TlsContentType
impl Copy for TlsContentType
Source§impl Debug for TlsContentType
impl Debug for TlsContentType
impl Eq for TlsContentType
Source§impl Hash for TlsContentType
impl Hash for TlsContentType
Source§impl Ord for TlsContentType
impl Ord for TlsContentType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TlsContentType
impl PartialEq for TlsContentType
Source§impl PartialOrd for TlsContentType
impl PartialOrd for TlsContentType
impl StructuralPartialEq for TlsContentType
Auto Trait Implementations§
impl Freeze for TlsContentType
impl RefUnwindSafe for TlsContentType
impl Send for TlsContentType
impl Sync for TlsContentType
impl Unpin for TlsContentType
impl UnsafeUnpin for TlsContentType
impl UnwindSafe for TlsContentType
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