Module wlan_hw_sim::event::buffered

source ·
Expand description

Buffered (owned) frames and MAC data.

This module provides types that copy buffers used by zerocopy types, in particular MAC frame types. The Buffered type must be used in extractors to accept MAC frame types, because these types cannot otherwise own the buffers from which they are parsed.

For technical reasons, empty proxy types are used to name corresponding MAC frame types. For example, buffered::Buffered<buffered::MgmtFrame> buffers a mac::MgmtFrame, which is distinct from the empty buffered::MgmtFrame type. Generally, there is no need to explicitly refer to the corresponding mac types in event handlers.

Structs§

  • A buffered zerocopy type that owns a copy of its underlying buffer.
  • A marker type that indicates that only supported tags of the given type may be parsed.
  • A marker type that indicates that only unsupported tags of the given type may be parsed.

Enums§

Traits§

Type Aliases§