pub struct PublishMessage { /* private fields */ }Expand description
PublishMessage is a message that publishes a buffer to the NATS queue but doesn’t wait for a reply afterwards. Think of it as the Pub part in PubSub.
Implementations§
Trait Implementations§
Source§impl Clone for PublishMessage
impl Clone for PublishMessage
Source§fn clone(&self) -> PublishMessage
fn clone(&self) -> PublishMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PublishMessage
impl Debug for PublishMessage
Source§impl Handler<PublishMessage> for NATSActor
impl Handler<PublishMessage> for NATSActor
Auto Trait Implementations§
impl Freeze for PublishMessage
impl RefUnwindSafe for PublishMessage
impl Send for PublishMessage
impl Sync for PublishMessage
impl Unpin for PublishMessage
impl UnwindSafe for PublishMessage
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