pub struct Delivery { /* private fields */ }
Implementations§
source§impl Delivery
impl Delivery
pub fn id(&self) -> DeliveryNumber
pub fn tag(&self) -> &Bytes
pub fn remote_state(&self) -> Option<DeliveryState>
pub fn is_remote_settled(&self) -> bool
pub fn settle(&mut self, state: DeliveryState)
pub fn update_state(&mut self, state: DeliveryState)
pub async fn wait(&self) -> Result<Option<DeliveryState>, AmqpProtocolError>
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