pub struct Icmpv4DestUnreachableCounters<C: CounterRepr> {Show 16 fields
pub dest_network_unreachable: C,
pub dest_host_unreachable: C,
pub dest_protocol_unreachable: C,
pub dest_port_unreachable: C,
pub fragmentation_required: C,
pub source_route_failed: C,
pub dest_network_unknown: C,
pub dest_host_unknown: C,
pub source_host_isolated: C,
pub network_administratively_prohibited: C,
pub host_administratively_prohibited: C,
pub network_unreachable_for_tos: C,
pub host_unreachable_for_tos: C,
pub comm_administratively_prohibited: C,
pub host_precedence_violation: C,
pub precedence_cutoff_in_effect: C,
}Expand description
ICMPv4 counters for Dest Unreachable messages.
As defined by IANA: https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml#icmp-parameters-codes-3
Fields§
§dest_network_unreachable: CNetwork Unreachable, code 0
dest_host_unreachable: CHost Unreachable, code 1
dest_protocol_unreachable: CProtocol Unreachable, code 2
dest_port_unreachable: CPort Unreachable , code 3
fragmentation_required: CFragmentation Needed and Don’t Fragment was set, code 4
source_route_failed: CSource Route Failed, code 5
dest_network_unknown: CDestination Network Unknown, code 6
dest_host_unknown: CDestination Host Unknown, code 7
source_host_isolated: CSource Host Isolated, code 8
network_administratively_prohibited: CCommunication with Destination Network is Administratively Prohibited, code 9
host_administratively_prohibited: CCommunication with Destination Host is Administratively Prohibited, code 10
network_unreachable_for_tos: CDestination Network Unreachable for Type of Service, code 11
host_unreachable_for_tos: CDestination Host Unreachable for Type of Service, code 12
comm_administratively_prohibited: CCommunicaation Administratively Prohibited, code 13
host_precedence_violation: CHost Precedence Violation, code 14
precedence_cutoff_in_effect: CPrecedence Cutoff in Effect, code 15
Trait Implementations§
Source§impl<C: Default + CounterRepr> Default for Icmpv4DestUnreachableCounters<C>
impl<C: Default + CounterRepr> Default for Icmpv4DestUnreachableCounters<C>
Source§fn default() -> Icmpv4DestUnreachableCounters<C>
fn default() -> Icmpv4DestUnreachableCounters<C>
Source§impl<C: CounterRepr> Inspectable for Icmpv4DestUnreachableCounters<C>
impl<C: CounterRepr> Inspectable for Icmpv4DestUnreachableCounters<C>
Auto Trait Implementations§
impl<C> Freeze for Icmpv4DestUnreachableCounters<C>where
C: Freeze,
impl<C> RefUnwindSafe for Icmpv4DestUnreachableCounters<C>where
C: RefUnwindSafe,
impl<C> Send for Icmpv4DestUnreachableCounters<C>where
C: Send,
impl<C> Sync for Icmpv4DestUnreachableCounters<C>where
C: Sync,
impl<C> Unpin for Icmpv4DestUnreachableCounters<C>where
C: Unpin,
impl<C> UnwindSafe for Icmpv4DestUnreachableCounters<C>where
C: UnwindSafe,
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
Source§impl<O, BC> BuildableCoreContext<BC> for Owhere
O: Default,
impl<O, BC> BuildableCoreContext<BC> for Owhere
O: Default,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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>
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>
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