pub struct RequestWithReply { /* private fields */ }Expand description
Subscribe is a message that subscribes to a topic in the NATS queue Think of it as the Sub part in PubSub. RequestWithReply creates a reply inbox in NATS, publishes a message (Request in terms of NATS grammar) and waits for the reply to come back.
Implementations§
Trait Implementations§
Source§impl Clone for RequestWithReply
impl Clone for RequestWithReply
Source§fn clone(&self) -> RequestWithReply
fn clone(&self) -> RequestWithReply
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 RequestWithReply
impl Debug for RequestWithReply
Source§impl Handler<RequestWithReply> for NATSActor
impl Handler<RequestWithReply> for NATSActor
Auto Trait Implementations§
impl Freeze for RequestWithReply
impl RefUnwindSafe for RequestWithReply
impl Send for RequestWithReply
impl Sync for RequestWithReply
impl Unpin for RequestWithReply
impl UnwindSafe for RequestWithReply
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