Skip to main content

write_result_proof

Function write_result_proof 

Source
pub fn write_result_proof(
    path: impl AsRef<Path>,
    proof: &ResultProof,
) -> Result<(), ProofError>
Expand description

Writes a canonical result proof to a new file and synchronizes it.

Existing paths are never replaced.

ยงErrors

Returns a proof encoding, path, create, write, or synchronization error.