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 for EncryptedBytes
impl PartialEq 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 ==
.impl Eq for EncryptedBytes
impl StructuralEq for EncryptedBytes
impl StructuralPartialEq for EncryptedBytes
Auto Trait Implementations§
impl RefUnwindSafe for EncryptedBytes
impl Send for EncryptedBytes
impl Sync for EncryptedBytes
impl Unpin for EncryptedBytes
impl UnwindSafe for EncryptedBytes
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