pub struct FastPubAck {
pub batch_sequence: u64,
pub ack_sequence: u64,
}Expand description
Result of a successful FastPublisher::add / FastPublisher::add_message
call.
The ack_sequence is the highest batch sequence acknowledged by the
server so far. In GapMode::Fail this means all messages up to and
including ack_sequence were persisted. In GapMode::Ok there may
have been gaps; ack_sequence is only a hint about how far the server
has progressed.
Fields§
§batch_sequence: u64Batch sequence of the message that was just added.
ack_sequence: u64Highest batch sequence acknowledged by the server so far.
Trait Implementations§
Source§impl Clone for FastPubAck
impl Clone for FastPubAck
Source§fn clone(&self) -> FastPubAck
fn clone(&self) -> FastPubAck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FastPubAck
impl Debug for FastPubAck
Source§impl PartialEq for FastPubAck
impl PartialEq for FastPubAck
Source§fn eq(&self, other: &FastPubAck) -> bool
fn eq(&self, other: &FastPubAck) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FastPubAck
impl Eq for FastPubAck
impl StructuralPartialEq for FastPubAck
Auto Trait Implementations§
impl Freeze for FastPubAck
impl RefUnwindSafe for FastPubAck
impl Send for FastPubAck
impl Sync for FastPubAck
impl Unpin for FastPubAck
impl UnsafeUnpin for FastPubAck
impl UnwindSafe for FastPubAck
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