Skip to main content

Compiled

Type Alias Compiled 

Source
pub type Compiled<T> = Result<Arc<Machine<<T as TypedMachine>::Context, <T as TypedMachine>::Event>>, String>;
Expand description

A compiled machine, or why it did not compile.

Aliased Type§

pub enum Compiled<T> {
    Ok(Arc<Machine<<T as TypedMachine>::Context, <T as TypedMachine>::Event>>),
    Err(String),
}

Variants§

§1.0.0

Ok(Arc<Machine<<T as TypedMachine>::Context, <T as TypedMachine>::Event>>)

Contains the success value

§1.0.0

Err(String)

Contains the error value