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§