packet_formats::error

Type Alias ParseResult

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

Results returned from parsing functions in the netstack.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ParseError)

Contains the error value