packet_formats::error

Type Alias IpParseResult

Source
pub type IpParseResult<I, T> = Result<T, IpParseError<I>>;
Expand description

Results returned from IP packet parsing functions in the netstack.

Aliased Type§

enum IpParseResult<I, T> {
    Ok(T),
    Err(IpParseError<I>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(IpParseError<I>)

Contains the error value