Skip to main content

AdapterResult

Type Alias AdapterResult 

Source
pub type AdapterResult = Result<Cursor<Vec<u8>>, ExecutorError>;
Expand description

See: https://asimov-specs.github.io/program-patterns/#adapter

Aliased Type§

pub enum AdapterResult {
    Ok(Cursor<Vec<u8>>),
    Err(ExecutorError),
}

Variants§

§1.0.0

Ok(Cursor<Vec<u8>>)

Contains the success value

§1.0.0

Err(ExecutorError)

Contains the error value