pub struct CheckpointMetadata {
pub uuid: Uuid,
pub identifier: Option<String>,
pub fingerprint: u64,
pub size: Option<u64>,
pub steps: Option<u64>,
pub processed_records: Option<u64>,
}Expand description
Holds meta-data about a checkpoint that was taken for persistent storage and recovery of a circuit’s state.
Fields§
§uuid: UuidA unique identifier for the given checkpoint.
This is used to identify the checkpoint in the file-system hierarchy.
identifier: Option<String>An optional name for the checkpoint.
fingerprint: u64Fingerprint of the circuit at the time of the checkpoint.
size: Option<u64>Total size of the checkpoint files in bytes.
steps: Option<u64>Total number of steps made.
processed_records: Option<u64>Total number of records processed.
Trait Implementations§
Source§impl Clone for CheckpointMetadata
impl Clone for CheckpointMetadata
Source§fn clone(&self) -> CheckpointMetadata
fn clone(&self) -> CheckpointMetadata
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 CheckpointMetadata
impl Debug for CheckpointMetadata
Source§impl Default for CheckpointMetadata
impl Default for CheckpointMetadata
Source§fn default() -> CheckpointMetadata
fn default() -> CheckpointMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckpointMetadata
impl<'de> Deserialize<'de> for CheckpointMetadata
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
Auto Trait Implementations§
impl Freeze for CheckpointMetadata
impl RefUnwindSafe for CheckpointMetadata
impl Send for CheckpointMetadata
impl Sync for CheckpointMetadata
impl Unpin for CheckpointMetadata
impl UnwindSafe for CheckpointMetadata
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