ValidationResult

Type Alias ValidationResult 

Source
pub type ValidationResult = Result<usize, (usize, UnmarshalError)>;
Expand description

Either Ok(amount_of_bytes) or Err(position, ErrorCode)

Aliased Type§

pub enum ValidationResult {
    Ok(usize),
    Err((usize, UnmarshalError)),
}

Variants§

§1.0.0

Ok(usize)

Contains the success value

§1.0.0

Err((usize, UnmarshalError))

Contains the error value