pub struct MonitorCheckpointUpdate {
pub start_block: Option<u64>,
pub last_scanned_block: Option<u64>,
pub last_processed_cursor: Option<String>,
pub retry_count: Option<u32>,
pub last_error: Option<String>,
}Expand description
Partial update to a monitor checkpoint. None fields are left unchanged.
Used to record scan progress (last scanned block, cursor) and retry state.
Fields§
§start_block: Option<u64>The block the monitor started scanning from (typically set once).
last_scanned_block: Option<u64>Highest block fully scanned so far.
last_processed_cursor: Option<String>Opaque last-processed cursor (e.g. a Nado page cursor).
retry_count: Option<u32>Retry counter for the current backoff cycle.
last_error: Option<String>Last error string; Some("") clears it.
Trait Implementations§
Source§impl Clone for MonitorCheckpointUpdate
impl Clone for MonitorCheckpointUpdate
Source§fn clone(&self) -> MonitorCheckpointUpdate
fn clone(&self) -> MonitorCheckpointUpdate
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 MonitorCheckpointUpdate
impl Debug for MonitorCheckpointUpdate
Source§impl Default for MonitorCheckpointUpdate
impl Default for MonitorCheckpointUpdate
Source§fn default() -> MonitorCheckpointUpdate
fn default() -> MonitorCheckpointUpdate
Returns the “default value” for a type. Read more
impl Eq for MonitorCheckpointUpdate
Source§impl PartialEq for MonitorCheckpointUpdate
impl PartialEq for MonitorCheckpointUpdate
Source§fn eq(&self, other: &MonitorCheckpointUpdate) -> bool
fn eq(&self, other: &MonitorCheckpointUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MonitorCheckpointUpdate
Auto Trait Implementations§
impl Freeze for MonitorCheckpointUpdate
impl RefUnwindSafe for MonitorCheckpointUpdate
impl Send for MonitorCheckpointUpdate
impl Sync for MonitorCheckpointUpdate
impl Unpin for MonitorCheckpointUpdate
impl UnsafeUnpin for MonitorCheckpointUpdate
impl UnwindSafe for MonitorCheckpointUpdate
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