Struct fire_stream_api::server::EncryptedBytes
source · pub struct EncryptedBytes { /* private fields */ }Expand description
Encrypted bytes
Data Layout +———–+———–+ | Header | Body | +—–+—–+—–+—–+ | Mac | Ctn | Mac | Ctn | +—–+—–+—–+—–+
Trait Implementations§
source§impl Clone for EncryptedBytes
impl Clone for EncryptedBytes
source§fn clone(&self) -> EncryptedBytes
fn clone(&self) -> EncryptedBytes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EncryptedBytes
impl Debug for EncryptedBytes
source§impl PacketBytes for EncryptedBytes
impl PacketBytes for EncryptedBytes
source§fn header_mut(&mut self) -> BytesMut<'_>
fn header_mut(&mut self) -> BytesMut<'_>
Returns the header mutably.
source§fn full_header_mut(&mut self) -> BytesMut<'_>
fn full_header_mut(&mut self) -> BytesMut<'_>
Returns the full header mutably. Read more
source§fn body_mut(&mut self) -> BodyBytesMut<'_>
fn body_mut(&mut self) -> BodyBytesMut<'_>
Returns the body mutably.
source§fn full_body_mut(&mut self) -> BytesMut<'_>
fn full_body_mut(&mut self) -> BytesMut<'_>
Returns the full body mutably. Read more
source§impl PartialEq<EncryptedBytes> for EncryptedBytes
impl PartialEq<EncryptedBytes> for EncryptedBytes
source§fn eq(&self, other: &EncryptedBytes) -> bool
fn eq(&self, other: &EncryptedBytes) -> bool
This method tests for
self and other values to be equal, and is used
by ==.