Skip to main content

IoResult

Type Alias IoResult 

Source
pub type IoResult = Result<JsonValue, String>;
Expand description

I/O execution result.

On success returns a JsonValue (injected into payload.__io_results__.{io_type} by the reactor); on failure returns an error message (recorded into the IoResponse.error field).

Aliased Type§

pub enum IoResult {
    Ok(JsonValue),
    Err(String),
}

Variants§

§1.0.0

Ok(JsonValue)

Contains the success value

§1.0.0

Err(String)

Contains the error value