pub struct PacketParts {
pub header: PacketHeader,
pub ciphertext: Vec<u8>,
}Fields§
§header: PacketHeader§ciphertext: Vec<u8>Implementations§
Source§impl PacketParts
impl PacketParts
pub fn header_bytes(&self) -> [u8; 40]
Trait Implementations§
Source§impl Clone for PacketParts
impl Clone for PacketParts
Source§fn clone(&self) -> PacketParts
fn clone(&self) -> PacketParts
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PacketParts
impl Debug for PacketParts
Source§impl PartialEq for PacketParts
impl PartialEq for PacketParts
impl Eq for PacketParts
impl StructuralPartialEq for PacketParts
Auto Trait Implementations§
impl Freeze for PacketParts
impl RefUnwindSafe for PacketParts
impl Send for PacketParts
impl Sync for PacketParts
impl Unpin for PacketParts
impl UnwindSafe for PacketParts
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)