pub struct VdfCheckpoint {
pub iteration: u64,
pub value: [u8; 64],
pub elapsed_ms: u64,
}Expand description
Intermediate checkpoint for partial verification of long VDF proofs.
Fields§
§iteration: u64§value: [u8; 64]§elapsed_ms: u64Trait Implementations§
Source§impl Clone for VdfCheckpoint
impl Clone for VdfCheckpoint
Source§fn clone(&self) -> VdfCheckpoint
fn clone(&self) -> VdfCheckpoint
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 VdfCheckpoint
impl Debug for VdfCheckpoint
Source§impl<'de> Deserialize<'de> for VdfCheckpoint
impl<'de> Deserialize<'de> for VdfCheckpoint
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 PartialEq for VdfCheckpoint
impl PartialEq for VdfCheckpoint
Source§impl Serialize for VdfCheckpoint
impl Serialize for VdfCheckpoint
impl StructuralPartialEq for VdfCheckpoint
Auto Trait Implementations§
impl Freeze for VdfCheckpoint
impl RefUnwindSafe for VdfCheckpoint
impl Send for VdfCheckpoint
impl Sync for VdfCheckpoint
impl Unpin for VdfCheckpoint
impl UnsafeUnpin for VdfCheckpoint
impl UnwindSafe for VdfCheckpoint
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