pub struct Delivery { /* private fields */ }
Expand description
Envelope from incoming message
Implementations§
Source§impl Delivery
impl Delivery
Sourcepub fn subscription_id(&self) -> u8
pub fn subscription_id(&self) -> u8
Get a reference to the delivery’s subscription id.
pub fn consumer_name(&self) -> Option<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Delivery
impl RefUnwindSafe for Delivery
impl Send for Delivery
impl Sync for Delivery
impl Unpin for Delivery
impl UnwindSafe for Delivery
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