packet::records

Type Alias RecordParseResult

Source
pub type RecordParseResult<T, E> = Result<ParsedRecord<T>, E>;
Expand description

A type that encapsuates the result of a record parsing operation.

Aliased Type§

enum RecordParseResult<T, E> {
    Ok(ParsedRecord<T>),
    Err(E),
}

Variants§

§1.0.0

Ok(ParsedRecord<T>)

Contains the success value

§1.0.0

Err(E)

Contains the error value