pub struct FragmentationCounters {
pub fragmentation_required: Counter,
pub fragments: Counter,
pub error_not_allowed: Counter,
pub error_mtu_too_small: Counter,
pub error_body_too_long: Counter,
pub error_inner_size_limit_exceeded: Counter,
pub error_fragmented_serializer: Counter,
}
Expand description
Counters kept by the IP stack pertaining to fragmentation.
Fields§
§fragmentation_required: Counter
The number of IP frames requiring fragmentation on egress.
fragments: Counter
The total number of fragments sent.
error_not_allowed: Counter
The number of NotAllowed
errors encountered.
error_mtu_too_small: Counter
The number of MtuTooSmall
errors encountered.
error_body_too_long: Counter
The number of BodyTooLong
errors encountered.
error_inner_size_limit_exceeded: Counter
The number of SizeLimitExceeded
errors encountered.
error_fragmented_serializer: Counter
Counts the number of times fragmentation was short-circuited due to a fragment serialization error.
Trait Implementations§
Source§impl Default for FragmentationCounters
impl Default for FragmentationCounters
Source§fn default() -> FragmentationCounters
fn default() -> FragmentationCounters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for FragmentationCounters
impl RefUnwindSafe for FragmentationCounters
impl Send for FragmentationCounters
impl Sync for FragmentationCounters
impl Unpin for FragmentationCounters
impl UnwindSafe for FragmentationCounters
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,
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