Type Alias yaml_rust2::parser::ParseResult

source ·
pub type ParseResult = Result<(Event, Marker), ScanError>;
Expand description

A convenience alias for a Result of a parser event.

Aliased Type§

enum ParseResult {
    Ok((Event, Marker)),
    Err(ScanError),
}

Variants§

§1.0.0

Ok((Event, Marker))

Contains the success value

§1.0.0

Err(ScanError)

Contains the error value