Skip to main content

MatcherResult

Type Alias MatcherResult 

Source
pub type MatcherResult = Result<JsonlStream, ExecutorError>;
Available on crate feature std only.
Expand description

A live JSONL graph stream, or an error starting the matcher.

Aliased Type§

pub enum MatcherResult {
    Ok(Pin<Box<dyn Stream<Item = Result<JsonlBatch, ExecutorError>> + Send>>),
    Err(ExecutorError),
}

Variants§

§1.0.0

Ok(Pin<Box<dyn Stream<Item = Result<JsonlBatch, ExecutorError>> + Send>>)

Contains the success value

§1.0.0

Err(ExecutorError)

Contains the error value