poem_openapi::types

Type Alias ParseResult

Source
pub type ParseResult<T> = Result<T, ParseError<T>>;
Expand description

An error parsing a value of type T.

Aliased Type§

enum ParseResult<T> {
    Ok(T),
    Err(ParseError<T>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ParseError<T>)

Contains the error value