pub enum Queue {
Amqp(AmqpQueue),
Mqtt(MqttQueue),
}
Variants§
Implementations§
Trait Implementations§
Source§impl GmqQueue for Queue
impl GmqQueue for Queue
Source§fn set_handler(&mut self, handler: Arc<dyn EventHandler>)
fn set_handler(&mut self, handler: Arc<dyn EventHandler>)
To set the queue event handler.
Source§fn clear_handler(&mut self)
fn clear_handler(&mut self)
To remove the queue event handler.
Source§fn set_msg_handler(&mut self, handler: Arc<dyn MessageHandler>)
fn set_msg_handler(&mut self, handler: Arc<dyn MessageHandler>)
To set the queue message handler.
Auto Trait Implementations§
impl Freeze for Queue
impl RefUnwindSafe for Queue
impl Send for Queue
impl Sync for Queue
impl Unpin for Queue
impl UnwindSafe for Queue
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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