pub struct Ipv6PacketMetadata {
pub dscp_and_ecn: DscpAndEcn,
pub flowlabel: u32,
pub hop_limit: u8,
pub src_ip: Ipv6Addr,
pub dst_ip: Ipv6Addr,
}
Expand description
Metadata of an IPv6 packet.
Fields§
§dscp_and_ecn: DscpAndEcn
§flowlabel: u32
§hop_limit: u8
§src_ip: Ipv6Addr
§dst_ip: Ipv6Addr
Auto Trait Implementations§
impl Freeze for Ipv6PacketMetadata
impl RefUnwindSafe for Ipv6PacketMetadata
impl Send for Ipv6PacketMetadata
impl Sync for Ipv6PacketMetadata
impl Unpin for Ipv6PacketMetadata
impl UnwindSafe for Ipv6PacketMetadata
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