pub enum SentBatch {
Ack,
Partial {
responses: Option<Vec<CanonicalMessage>>,
failed: Vec<(CanonicalMessage, PublisherError)>,
},
}Expand description
The outcome of a successful batch message publishing operation.
Variants§
Ack
All messages in the batch were sent successfully. No responses were generated.
Partial
The batch operation resulted in a mix of successes and/or failures.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SentBatch
impl RefUnwindSafe for SentBatch
impl Send for SentBatch
impl Sync for SentBatch
impl Unpin for SentBatch
impl UnsafeUnpin for SentBatch
impl UnwindSafe for SentBatch
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