pub struct ContentTypeCode(/* private fields */);Expand description
One exact byte from the TLS ContentType registry.
Construction preserves unknown values. Admission remains a separate, profile-specific operation.
ⓘ
let _ = brynja_protocol::ContentTypeCode(23);Implementations§
Trait Implementations§
Source§impl Clone for ContentTypeCode
impl Clone for ContentTypeCode
Source§fn clone(&self) -> ContentTypeCode
fn clone(&self) -> ContentTypeCode
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 moreimpl Copy for ContentTypeCode
Source§impl Debug for ContentTypeCode
impl Debug for ContentTypeCode
impl Eq for ContentTypeCode
Source§impl Hash for ContentTypeCode
impl Hash for ContentTypeCode
Source§impl PartialEq for ContentTypeCode
impl PartialEq for ContentTypeCode
impl StructuralPartialEq for ContentTypeCode
Auto Trait Implementations§
impl Freeze for ContentTypeCode
impl RefUnwindSafe for ContentTypeCode
impl Send for ContentTypeCode
impl Sync for ContentTypeCode
impl Unpin for ContentTypeCode
impl UnsafeUnpin for ContentTypeCode
impl UnwindSafe for ContentTypeCode
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