pub enum CheckpointActivity {
Idle,
Delayed {
reasons: Vec<TemporarySuspendError>,
delayed_since: DateTime<Utc>,
},
InProgress {
started_at: DateTime<Utc>,
},
}Expand description
Current checkpoint activity state.
Variants§
Idle
No checkpoint is pending or in progress.
Delayed
A checkpoint has been requested but is delayed for temporary reasons (e.g. replaying, bootstrapping, transaction in progress, or input endpoint barriers that require the coordinator to run steps).
Fields
§
reasons: Vec<TemporarySuspendError>Why the checkpoint cannot proceed yet.
InProgress
A checkpoint is currently being written to storage.
Trait Implementations§
Source§impl Clone for CheckpointActivity
impl Clone for CheckpointActivity
Source§fn clone(&self) -> CheckpointActivity
fn clone(&self) -> CheckpointActivity
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 CheckpointActivity
impl Debug for CheckpointActivity
Source§impl Default for CheckpointActivity
impl Default for CheckpointActivity
Source§fn default() -> CheckpointActivity
fn default() -> CheckpointActivity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckpointActivity
impl<'de> Deserialize<'de> for CheckpointActivity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CheckpointActivity
impl Serialize for CheckpointActivity
Auto Trait Implementations§
impl Freeze for CheckpointActivity
impl RefUnwindSafe for CheckpointActivity
impl Send for CheckpointActivity
impl Sync for CheckpointActivity
impl Unpin for CheckpointActivity
impl UnsafeUnpin for CheckpointActivity
impl UnwindSafe for CheckpointActivity
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