pub struct Checkpoint {
pub header: CheckpointHeader,
pub payload: Vec<u8>,
pub signature: Option<[u8; 32]>,
}Available on crate feature
extensions only.Expand description
A complete checkpoint (header + payload)
Fields§
§header: CheckpointHeaderCheckpoint header
payload: Vec<u8>Checkpoint payload (may be compressed)
signature: Option<[u8; 32]>Optional signature
Implementations§
Source§impl Checkpoint
impl Checkpoint
Trait Implementations§
Source§impl Clone for Checkpoint
impl Clone for Checkpoint
Source§fn clone(&self) -> Checkpoint
fn clone(&self) -> Checkpoint
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 moreAuto Trait Implementations§
impl Freeze for Checkpoint
impl RefUnwindSafe for Checkpoint
impl Send for Checkpoint
impl Sync for Checkpoint
impl Unpin for Checkpoint
impl UnwindSafe for Checkpoint
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