pub struct Comms;Expand description
RabbitMQ connection singleton
Implementations§
Source§impl Comms
impl Comms
Sourcepub async fn declare_exchange(exchange: String, declare: DeclareExchange)
pub async fn declare_exchange(exchange: String, declare: DeclareExchange)
Declare exchange
Auto Trait Implementations§
impl Freeze for Comms
impl RefUnwindSafe for Comms
impl Send for Comms
impl Sync for Comms
impl Unpin for Comms
impl UnsafeUnpin for Comms
impl UnwindSafe for Comms
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