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: Ipv6AddrAuto 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more