Struct circulate::Relay [−][src]
pub struct Relay { /* fields omitted */ }Expand description
Manages subscriptions and notifications for PubSub.
Implementations
Create a new Subscriber for this relay.
Publishes a payload to all subscribers of topic.
Errors
Returns an error if payload fails to serialize with serde_cbor.
Publishes a payload to all subscribers of topic.
Errors
Returns an error if payload fails to serialize with serde_cbor.
Publishes a payload to all subscribers of topic.
Publishes a message to all subscribers of its topic.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Relayimpl !UnwindSafe for RelayBlanket Implementations
Mutably borrows from an owned value. Read more