liblisa::oracle

Type Alias ObservationResult

pub type ObservationResult<A> = Result<SystemState<A>, OracleError>;
Expand description

The result of an observation.

Aliased Type§

enum ObservationResult<A> {
    Ok(SystemState<A>),
    Err(OracleError),
}

Variants§

§1.0.0

Ok(SystemState<A>)

Contains the success value

§1.0.0

Err(OracleError)

Contains the error value