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 duplicate 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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more