pub struct AmqpSubscriber { /* private fields */ }Expand description
A subscription to one AMQP address; yields AmqpMessages.
Dropping the subscriber stops the pump task, detaches the link, and ends the subscription’s session.
Implementations§
Trait Implementations§
Source§impl Debug for AmqpSubscriber
impl Debug for AmqpSubscriber
Source§impl Subscriber for AmqpSubscriber
impl Subscriber for AmqpSubscriber
Source§type Message = AmqpMessage
type Message = AmqpMessage
The message type yielded by this subscriber.
Auto Trait Implementations§
impl Freeze for AmqpSubscriber
impl RefUnwindSafe for AmqpSubscriber
impl Send for AmqpSubscriber
impl Sync for AmqpSubscriber
impl Unpin for AmqpSubscriber
impl UnsafeUnpin for AmqpSubscriber
impl UnwindSafe for AmqpSubscriber
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