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§
Ok(usize)
Contains the success value
Err((usize, UnmarshalError))
Contains the error value