pub fn encode(c: &Checkpoint) -> Result<Vec<u8>, CheckpointError>Expand description
A checkpoint as bytes (UTF-8 JSON, so a person can read one in a bug report).
Refuses step >= MAX_STEPS with CheckpointError::TooManySteps.
pub fn encode(c: &Checkpoint) -> Result<Vec<u8>, CheckpointError>A checkpoint as bytes (UTF-8 JSON, so a person can read one in a bug report).
Refuses step >= MAX_STEPS with CheckpointError::TooManySteps.