fuel_streams_core::subjects

Trait IntoSubject

Source
pub trait IntoSubject:
    Debug
    + Send
    + Sync {
    // Required methods
    fn parse(&self) -> String;
    fn wildcard(&self) -> &'static str;
}
Expand description

This trait is used internally by the Subject derive macro to convert a struct into a standard NATS subject.

Required Methods§

Source

fn parse(&self) -> String

Source

fn wildcard(&self) -> &'static str

Implementors§