Type Alias amq_protocol::frame::ParserResult

source ·
pub type ParserResult<I, T> = Result<(I, T), Err<ParserErrors>>;
Expand description

Return type of parsers

Aliased Type§

enum ParserResult<I, T> {
    Ok((I, T)),
    Err(Err<ParserErrors>),
}

Variants§

§1.0.0

Ok((I, T))

Contains the success value

§1.0.0

Err(Err<ParserErrors>)

Contains the error value