pub struct WriteAck { /* private fields */ }Expand description
The acknowledgement for a whole batch: one OpResult per operation, in the
batch’s original order.
Implementations§
Source§impl WriteAck
impl WriteAck
Sourcepub fn with_pool_reuse(self, reused: bool) -> Self
pub fn with_pool_reuse(self, reused: bool) -> Self
Records whether the dispatch(es) rode reused pooled connections, true only when every operation in the batch reused one (NFR-P telemetry).
Sourcepub fn pool_reuse(&self) -> bool
pub fn pool_reuse(&self) -> bool
Whether this batch’s dispatch rode reused pooled connection(s).
Sourcepub fn all_succeeded(&self) -> bool
pub fn all_succeeded(&self) -> bool
Whether every operation in the batch succeeded.
Trait Implementations§
impl Eq for WriteAck
impl StructuralPartialEq for WriteAck
Auto Trait Implementations§
impl Freeze for WriteAck
impl RefUnwindSafe for WriteAck
impl Send for WriteAck
impl Sync for WriteAck
impl Unpin for WriteAck
impl UnsafeUnpin for WriteAck
impl UnwindSafe for WriteAck
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.