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
impl Eq for EncryptedBytes
impl StructuralPartialEq for EncryptedBytes
Auto Trait Implementations§
impl Freeze for EncryptedBytes
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