async_nats::subject

Trait ToSubject

source
pub trait ToSubject {
    // Required method
    fn to_subject(&self) -> Subject;
}

Required Methods§

Implementations on Foreign Types§

source§

impl ToSubject for &'static str

source§

impl ToSubject for String

Implementors§