Trait Queue

Source
pub trait Queue:
    Send
    + Sync
    + Serialize {
    // Required method
    fn to_config() -> QueueConfig;

    // Provided method
    fn key(&self) -> String { ... }
}

Required Methods§

Provided Methods§

Source

fn key(&self) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§