pub enum Payload {
Udp(UdpHeader),
Tcp(TcpHeader),
Icmp(IcmpHeader),
Unknown(IpProto),
}
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Payload
impl !RefUnwindSafe for Payload
impl !Send for Payload
impl !Sync for Payload
impl Unpin for Payload
impl !UnwindSafe for Payload
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