pub enum Delivery {
AtLeastOnce,
AtMostOnce,
}Expand description
How often a command may reach its handler.
Variants§
AtLeastOnce
Redelivered until it is acknowledged, so handling it twice must be harmless.
AtMostOnce
Acknowledged before it is handled and never redelivered, so a handler that does not finish loses the command.
Trait Implementations§
impl Copy for Delivery
impl Eq for Delivery
impl StructuralPartialEq for Delivery
Auto Trait Implementations§
impl Freeze for Delivery
impl RefUnwindSafe for Delivery
impl Send for Delivery
impl Sync for Delivery
impl Unpin for Delivery
impl UnsafeUnpin 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