MistResult

Type Alias MistResult 

Source
pub type MistResult = Result<MistOutput>;
Expand description

This is the type that’s returned from the package to the engine.

The error case can be any error (thanks to “anyhow”), and the success case is a MistOutput. It can be serialized with serialize_result and deserialized with deserialize_result (this is because we don’t own the Result type).

Aliased Type§

pub enum MistResult {
    Ok(MistOutput),
    Err(Error),
}

Variants§

§1.0.0

Ok(MistOutput)

Contains the success value

§1.0.0

Err(Error)

Contains the error value