Enum net::wire::Icmpv4Redirect
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§
§impl Ord for Redirect
impl Ord for Redirect
§impl PartialOrd<Redirect> for Redirect
impl PartialOrd<Redirect> for Redirect
§fn partial_cmp(&self, other: &Redirect) -> Option<Ordering>
fn partial_cmp(&self, other: &Redirect) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Redirect
impl Eq for Redirect
impl StructuralEq for Redirect
impl StructuralPartialEq for Redirect
Auto Trait Implementations§
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