Skip to main content

QueueSpec

Trait QueueSpec 

Source
pub trait QueueSpec:
    Sized
    + Send
    + Sync
    + 'static {
    type Payload;
    type Mode: QueueMode<Self>;

    const NAME: &'static str;
    const PAYLOAD_NAME: &'static str;
}
Expand description

Compile-time declaration of a durable queue.

Required Associated Constants§

Source

const NAME: &'static str

Source

const PAYLOAD_NAME: &'static str

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§