Type Alias VerificationResult

Source
pub(crate) type VerificationResult = Result<(), ()>;
Expand description

A glorified bool that leverages compile lints to encourage the caller to use the result.

Intended as the return type for verification of proofs, signatures, etc. Recommended for use in the nested Result pattern: see https://sled.rs/errors.

Aliased Type§

enum VerificationResult {
    Ok(()),
    Err(()),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(())

Contains the error value