pub enum Icmpv4MessageType {
EchoReply,
DestUnreachable,
Redirect,
EchoRequest,
TimeExceeded,
ParameterProblem,
TimestampRequest,
TimestampReply,
}
Variants§
EchoReply
DestUnreachable
Redirect
EchoRequest
TimeExceeded
ParameterProblem
TimestampRequest
TimestampReply
Trait Implementations§
Source§impl Clone for Icmpv4MessageType
impl Clone for Icmpv4MessageType
Source§fn clone(&self) -> Icmpv4MessageType
fn clone(&self) -> Icmpv4MessageType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Icmpv4MessageType
impl Debug for Icmpv4MessageType
Source§impl Display for Icmpv4MessageType
impl Display for Icmpv4MessageType
Source§impl From<Icmpv4MessageType> for u8
impl From<Icmpv4MessageType> for u8
Source§fn from(name: Icmpv4MessageType) -> u8
fn from(name: Icmpv4MessageType) -> u8
Converts to this type from the input type.
Source§impl<I: IcmpIpExt> GenericOverIp<I> for Icmpv4MessageType
impl<I: IcmpIpExt> GenericOverIp<I> for Icmpv4MessageType
Source§type Type = <I as IcmpIpExt>::IcmpMessageType
type Type = <I as IcmpIpExt>::IcmpMessageType
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.Source§impl IcmpMessageType for Icmpv4MessageType
impl IcmpMessageType for Icmpv4MessageType
Source§impl PartialEq for Icmpv4MessageType
impl PartialEq for Icmpv4MessageType
Source§impl TryFrom<u8> for Icmpv4MessageType
impl TryFrom<u8> for Icmpv4MessageType
impl Copy for Icmpv4MessageType
impl StructuralPartialEq for Icmpv4MessageType
Auto Trait Implementations§
impl Freeze for Icmpv4MessageType
impl RefUnwindSafe for Icmpv4MessageType
impl Send for Icmpv4MessageType
impl Sync for Icmpv4MessageType
impl Unpin for Icmpv4MessageType
impl UnwindSafe for Icmpv4MessageType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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
)