pub enum Icmpv4Redirect {
Net,
Host,
NetToS,
HostToS,
Unknown(u8),
}
Expand description
Internet protocol control message subtype for type “Redirect Message”.
Variants§
Net
Redirect Datagram for the Network
Host
Redirect Datagram for the Host
NetToS
Redirect Datagram for the ToS & network
HostToS
Redirect Datagram for the ToS & host
Unknown(u8)
Trait Implementations§
Source§impl Ord for Redirect
impl Ord for Redirect
Source§impl PartialOrd for Redirect
impl PartialOrd for Redirect
impl Copy for Redirect
impl Eq for Redirect
impl StructuralPartialEq for Redirect
Auto Trait Implementations§
impl Freeze for Redirect
impl RefUnwindSafe for Redirect
impl Send for Redirect
impl Sync for Redirect
impl Unpin for Redirect
impl UnwindSafe for Redirect
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