Struct epicbox::broker::rabbit_broker::Consumer [−][src]
struct Consumer {
subject: String,
subscription_id: String,
sender: UnboundedSender<BrokerResponse>,
}Fields
subject: Stringsubscription_id: Stringsender: UnboundedSender<BrokerResponse>Implementations
pub fn new(
subject: String,
subscription_id: String,
sender: UnboundedSender<BrokerResponse>
) -> Consumer
Auto Trait Implementations
impl !RefUnwindSafe for Consumer
impl !UnwindSafe for Consumer
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr, which was obtained from a prior call to Self::borrow(),
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self. Read more