morpheus_core::net

Module ring_buffer

Source
Expand description

Error Ring Buffer for Network Initialization

Circular buffer that captures initialization errors and debug logs for display in the bootstrap UI. Also drains and forwards entries from the network crate’s internal debug ring buffer.

§Design

  • Fixed-size, no_std compatible (no heap allocation for buffer)
  • Lock-free for single-producer single-consumer pattern
  • Overwrites oldest entries when full
  • Includes stage/source tracking for categorization

Structs§

Enums§

  • Stage identifiers for error categorization

Constants§

Statics§

Functions§