pub struct AppendResult {
pub first_sequence_number: u64,
pub last_sequence_number: u64,
pub committed_count: u64,
}Expand description
Result of one committed append batch.
A successful append always commits one consecutive global sequence range. Failed appends and failed conditional appends must not partially commit any part of the batch, and under the current Rust contract they also must not consume sequence numbers that later successful appends would observe.
Fields§
§first_sequence_number: u64§last_sequence_number: u64§committed_count: u64Trait Implementations§
Source§impl Clone for AppendResult
impl Clone for AppendResult
Source§fn clone(&self) -> AppendResult
fn clone(&self) -> AppendResult
Returns a duplicate of the value. Read more
1.0.0 · 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 AppendResult
impl Debug for AppendResult
Source§impl PartialEq for AppendResult
impl PartialEq for AppendResult
impl Eq for AppendResult
impl StructuralPartialEq for AppendResult
Auto Trait Implementations§
impl Freeze for AppendResult
impl RefUnwindSafe for AppendResult
impl Send for AppendResult
impl Sync for AppendResult
impl Unpin for AppendResult
impl UnsafeUnpin for AppendResult
impl UnwindSafe for AppendResult
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