pub trait QueueMode<N: QueueSpec>:
Send
+ Sync
+ 'static {
type Inner;
const STREAM_ROWS: usize;
const HAS_PAYLOAD_ROW: bool;
}Expand description
Selects the storage representation for a QueueSpec.
Required Associated Constants§
Sourceconst STREAM_ROWS: usize
const STREAM_ROWS: usize
Number of physical queue rows one stream emission will materialize.
Sourceconst HAS_PAYLOAD_ROW: bool
const HAS_PAYLOAD_ROW: bool
Whether the queue owns a distinct payload collection as well as its header collection.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".