pub struct AppendOutcome {
pub base_offset: Option<i64>,
pub last_offset: Option<i64>,
pub durable: bool,
pub sequenced: bool,
}Expand description
Outcome of a LogEngine::produce call.
Fields§
§base_offset: Option<i64>First assigned offset, when resolved at Durability::Sequenced.
last_offset: Option<i64>Last assigned offset, when resolved at Durability::Sequenced.
durable: boolWhether the batch is durably stored.
sequenced: boolWhether the batch has been sequenced (has an offset).
Trait Implementations§
Source§impl Clone for AppendOutcome
impl Clone for AppendOutcome
Source§impl Debug for AppendOutcome
impl Debug for AppendOutcome
impl Eq for AppendOutcome
Source§impl PartialEq for AppendOutcome
impl PartialEq for AppendOutcome
impl StructuralPartialEq for AppendOutcome
Auto Trait Implementations§
impl Forget for AppendOutcome
impl Freeze for AppendOutcome
impl RefUnwindSafe for AppendOutcome
impl Send for AppendOutcome
impl Sync for AppendOutcome
impl Unpin for AppendOutcome
impl UnsafeUnpin for AppendOutcome
impl UnwindSafe for AppendOutcome
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