pub struct PaddingPacket {
pub padding: Vec<u8>,
}Expand description
Parsed Padding packet.
RFC 9580: Contains random padding bytes to obscure message size.
Fields§
§padding: Vec<u8>The padding bytes (should be random).
Trait Implementations§
Source§impl Clone for PaddingPacket
impl Clone for PaddingPacket
Source§fn clone(&self) -> PaddingPacket
fn clone(&self) -> PaddingPacket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PaddingPacket
impl RefUnwindSafe for PaddingPacket
impl Send for PaddingPacket
impl Sync for PaddingPacket
impl Unpin for PaddingPacket
impl UnsafeUnpin for PaddingPacket
impl UnwindSafe for PaddingPacket
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