pub struct U24(/* private fields */);
Expand description
A 3 byte wide unsigned integer type as defined in RFC 5246.
Implementations§
Trait Implementations§
source§impl Deserialize for U24
impl Deserialize for U24
source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
Available on crate feature
std
only.This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read moresource§impl DeserializeBytes for U24
impl DeserializeBytes for U24
source§impl Serialize for &U24
impl Serialize for &U24
source§impl Serialize for U24
impl Serialize for U24
source§impl SerializeBytes for &U24
impl SerializeBytes for &U24
source§impl SerializeBytes for U24
impl SerializeBytes for U24
impl Copy for U24
impl StructuralPartialEq for U24
Auto Trait Implementations§
impl RefUnwindSafe for U24
impl Send for U24
impl Sync for U24
impl Unpin for U24
impl UnwindSafe for U24
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