Struct rustls::internal::msgs::base::PayloadU16 [−][src]
An arbitrary, unknown-content, u16-length-prefixed payload
Implementations
impl PayloadU16
[src]
impl PayloadU16
[src]pub fn new(bytes: Vec<u8>) -> PayloadU16
[src]
pub fn empty() -> PayloadU16
[src]
pub fn encode_slice(slice: &[u8], bytes: &mut Vec<u8>)
[src]
Trait Implementations
impl Clone for PayloadU16
[src]
impl Clone for PayloadU16
[src]fn clone(&self) -> PayloadU16
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Codec for PayloadU16
[src]
impl Codec for PayloadU16
[src]impl PartialEq<PayloadU16> for PayloadU16
[src]
impl PartialEq<PayloadU16> for PayloadU16
[src]