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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)