pub struct AckMsg {
pub id: BatchId,
pub last_offset: i64,
pub status: AckStatus,
}Expand description
Message sent to the checkpointer when the last AckRef clone of a
batch drops.
Fields§
§id: BatchIdWhich batch resolved.
last_offset: i64Highest source offset contained in the batch (inclusive). The
committable position after this batch is last_offset + 1.
status: AckStatusWorst status observed across the batch’s records.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AckMsg
impl RefUnwindSafe for AckMsg
impl Send for AckMsg
impl Sync for AckMsg
impl Unpin for AckMsg
impl UnsafeUnpin for AckMsg
impl UnwindSafe for AckMsg
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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