pub struct Publish { /* private fields */ }
Expand description
Posts a message to the given channel.
Send a message into a channel without any knowledge of individual consumers. Consumers may subscribe to channels in order to receive the messages.
Channel names have no relation to the key-value namespace. Publishing on a channel named “foo” has no relation to setting the “foo” key.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Publish
impl RefUnwindSafe for Publish
impl Send for Publish
impl Sync for Publish
impl Unpin for Publish
impl UnwindSafe for Publish
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more