pub struct Ipv6RxCounters<C = Counter> {
pub extension_header_discard: C,
pub drop_looped_back_dad_probe: C,
}
Expand description
IPv6-specific Rx counters.
Fields§
§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: CounterRepr> CounterCollection for Ipv6RxCounters<C>
impl<C: CounterRepr> CounterCollection for Ipv6RxCounters<C>
Source§type Spec = Ipv6RxCounters
type Spec = Ipv6RxCounters
The
CounterCollectionSpec
associated with this collection.Source§fn cast<C>(&self) -> <Self::Spec as CounterCollectionSpec>::CounterCollection<C>where
C: CounterRepr,
fn cast<C>(&self) -> <Self::Spec as CounterCollectionSpec>::CounterCollection<C>where
C: CounterRepr,
A utility method to cast this collection of counters into a different
underlying counter representation.
Source§impl CounterCollectionSpec for Ipv6RxCounters<Counter>
impl CounterCollectionSpec for Ipv6RxCounters<Counter>
Source§type CounterCollection<C: CounterRepr> = Ipv6RxCounters<C>
type CounterCollection<C: CounterRepr> = Ipv6RxCounters<C>
The underlying
CounterCollection
for this specification.Source§fn transform<C1: CounterRepr, C2: CounterRepr>(
counters: &Ipv6RxCounters<C1>,
) -> Ipv6RxCounters<C2>
fn transform<C1: CounterRepr, C2: CounterRepr>( counters: &Ipv6RxCounters<C1>, ) -> Ipv6RxCounters<C2>
A utility method to transform the underlying counter representation
within
Self::CounterCollection
.Source§impl<C: Debug> Debug for Ipv6RxCounters<C>
impl<C: Debug> Debug for Ipv6RxCounters<C>
Source§impl<C: Default> Default for Ipv6RxCounters<C>
impl<C: Default> 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>
Source§impl<C: PartialEq> PartialEq for Ipv6RxCounters<C>
impl<C: PartialEq> PartialEq for Ipv6RxCounters<C>
impl<C> StructuralPartialEq 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>>
fn send_frame<S>( &mut self, bindings_ctx: &mut BC, metadata: Meta, frame: S, ) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>
Send a frame. Read more
Source§impl<BC, S, Meta, DeviceId> SendableFrameMeta<FakeCoreCtx<S, Meta, DeviceId>, BC> for Meta
impl<BC, S, Meta, DeviceId> SendableFrameMeta<FakeCoreCtx<S, Meta, DeviceId>, BC> for Meta
Source§fn send_meta<SS>(
self,
core_ctx: &mut FakeCoreCtx<S, Meta, DeviceId>,
bindings_ctx: &mut BC,
frame: SS,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, SS>>
fn send_meta<SS>( self, core_ctx: &mut FakeCoreCtx<S, Meta, DeviceId>, bindings_ctx: &mut BC, frame: SS, ) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, SS>>
Sends this frame metadata to the provided contexts.
Source§impl<Meta, BC> SendableFrameMeta<FakeFrameCtx<Meta>, BC> for Meta
impl<Meta, BC> SendableFrameMeta<FakeFrameCtx<Meta>, BC> for Meta
Source§fn send_meta<S>(
self,
core_ctx: &mut FakeFrameCtx<Meta>,
_bindings_ctx: &mut BC,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>
fn send_meta<S>( self, core_ctx: &mut FakeFrameCtx<Meta>, _bindings_ctx: &mut BC, frame: S, ) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>
Sends this frame metadata to the provided contexts.
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
Source§impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
Source§type Data = <L as UnlockedAccessMarkerFor<T>>::Data
type Data = <L as UnlockedAccessMarkerFor<T>>::Data
The type of state being accessed.
Source§type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data
where
T: 'l
type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data where T: 'l
A guard providing read access to the data.
Source§fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
How to access the state.