subspace_farmer::cluster::nats_client

Trait GenericNotification

source
pub trait GenericNotification:
    Encode
    + Decode
    + Debug
    + Send
    + Sync
    + 'static {
    const SUBJECT: &'static str;
}
Expand description

Generic one-off notification

Required Associated Constants§

source

const SUBJECT: &'static str

Notification subject with optional * in place of application instance receiving the request

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§