Struct rustls::internal::msgs::base::PayloadU16 [−][src]
Expand description
An arbitrary, unknown-content, u16-length-prefixed payload
Tuple Fields
0: Vec<u8>
Implementations
Trait Implementations
Decode yourself by fiddling with the Reader
.
Return Some if it worked, None if not. Read more
Convenience function to get the results of encode()
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PayloadU16
impl Send for PayloadU16
impl Sync for PayloadU16
impl Unpin for PayloadU16
impl UnwindSafe for PayloadU16
Blanket Implementations
Mutably borrows from an owned value. Read more