pub struct Ipv6RxCounters<C: CounterRepr = Counter> {
pub drop_for_tentative: C,
pub non_unicast_source: C,
pub extension_header_discard: C,
pub drop_looped_back_dad_probe: C,
}
Expand description
IPv6-specific Rx counters.
Fields§
§drop_for_tentative: C
Count of incoming IPv6 packets dropped because the destination address is only tentatively assigned to the device.
non_unicast_source: C
Count of incoming IPv6 packets dropped due to a non-unicast source address.
extension_header_discard: C
Count of incoming IPv6 packets discarded while processing extension headers.
drop_looped_back_dad_probe: C
Count of incoming neighbor solicitations discarded as looped-back DAD probes.
Trait Implementations§
Source§impl<C: Debug + CounterRepr> Debug for Ipv6RxCounters<C>
impl<C: Debug + CounterRepr> Debug for Ipv6RxCounters<C>
Source§impl<C: Default + CounterRepr> Default for Ipv6RxCounters<C>
impl<C: Default + CounterRepr> Default for Ipv6RxCounters<C>
Source§fn default() -> Ipv6RxCounters<C>
fn default() -> Ipv6RxCounters<C>
Returns the “default value” for a type. Read more
Source§impl<C: CounterRepr> Inspectable for Ipv6RxCounters<C>
impl<C: CounterRepr> Inspectable for Ipv6RxCounters<C>
Auto Trait Implementations§
impl<C> Freeze for Ipv6RxCounters<C>where
C: Freeze,
impl<C> RefUnwindSafe for Ipv6RxCounters<C>where
C: RefUnwindSafe,
impl<C> Send for Ipv6RxCounters<C>where
C: Send,
impl<C> Sync for Ipv6RxCounters<C>where
C: Sync,
impl<C> Unpin for Ipv6RxCounters<C>where
C: Unpin,
impl<C> UnwindSafe for Ipv6RxCounters<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
Mutably borrows from an owned value. Read more
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>
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§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
Source§impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
Source§fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
Send a frame. Read more
Source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
Source§fn handle_timer(
&mut self,
bindings_ctx: &mut BC,
dispatch: Id,
timer: <BC as TimerBindingsTypes>::UniqueTimerId,
)
fn handle_timer( &mut self, bindings_ctx: &mut BC, dispatch: Id, timer: <BC as TimerBindingsTypes>::UniqueTimerId, )
Handle a timer firing. Read more