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§
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".