pub trait Subscribe {
fn exists(instance: u32) -> bool;
fn group_count() -> u32;
fn subscribe() -> Result<Subscription<Self>, i32>
where
Self: Sized;
fn subscribe_multi(instance: u32) -> Result<Subscription<Self>, i32>
where
Self: Sized;
}
Expand description
Functions related to subscribing to message topics.
They are automatically implemented on all Message
s.