Crate netstack3_base
source ·Expand description
Base type definitions for netstack3 core.
This crate contains definitions common to the other netstack3 core crates and is the base dependency for most of them.
Modules§
- Reference counted hash map data structure.
- Sync utilities common to netstack3.
- Test utilities provided to all crates.
Structs§
- An atomic counter for packet statistics, e.g. IPv4 packets received.
- A local timer heap that keeps timers for core modules.
- An uninstantiable type that performs conversions based on
Into
implementations and an available outerCoreTimerContext
CC
.
Enums§
- An uninstantiable type that performs conversions based on
Into
implementations. - The result of removing some reference-counted resource from core.
Traits§
- A pair of core and bindings contexts.
- A core context providing timer type conversion.
- A timer that can be handled by a pair of core context
CC
and bindings contextBC
. - A trait that allows a type to record its fields to an
inspector
. - A trait that marks a type as inspectable.
- A trait abstracting a state inspector.
- An extension to
Inspector
that allows transforming and recording device identifiers. - A type representing an instant in time.
- Trait defining the
Instant
type provided by bindings’InstantContext
implementation. - A context that provides access to a monotonic clock.
- A context trait determining the types to be used for reference notifications.
- Opaque types provided by bindings used by
TimerContext
. - A context providing time scheduling to core.
- A handler for timer firing events.
Type Aliases§
- An alias for
RemoveResourceResult
that extracts the receiver type from the bindings context.