Skip to main content

WriterResult

Type Alias WriterResult 

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

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

Aliased Type§

pub enum WriterResult {
    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