Struct smoltcp::storage::PacketMetadata
source · pub struct PacketMetadata<H> { /* private fields */ }
Expand description
Size and header of a packet.
Implementations§
source§impl<H> PacketMetadata<H>
impl<H> PacketMetadata<H>
sourcepub const EMPTY: PacketMetadata<H> = _
pub const EMPTY: PacketMetadata<H> = _
Empty packet description.
Trait Implementations§
source§impl<H: Clone> Clone for PacketMetadata<H>
impl<H: Clone> Clone for PacketMetadata<H>
source§fn clone(&self) -> PacketMetadata<H>
fn clone(&self) -> PacketMetadata<H>
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 more