Skip to main content

Namespace

Trait Namespace 

Source
pub trait Namespace:
    Clone
    + Send
    + Sync
    + 'static {
    // Required method
    fn as_str(&self) -> &str;
}
Expand description

Identifies an event namespace.

The namespace determines queue/stream names, backend storage, and payload shape.

Required Methods§

Source

fn as_str(&self) -> &str

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§