[][src]Enum ion_binary_rs::ParsingError

pub enum ParsingError {
    InvalidHeaderType,
    InvalidHeaderLength,
    TooBigForU64,
    VarIntTooBigForI64,
    NoDataToRead,
    NotEnoughtDataToRead(usize),
    ErrorReadingData(String),
    CannotReadZeroBytes,
    BadFormedVersionHeader,
    MalformedIonVersion,
    InvalidNullLength(ValueLength),
    InvalidAnnotationLength(ValueLength),
    ParsedIntTooBigThisIsABug,
    ThisIsABugConsumingVarUInt,
    ThisIsABugConsumingVarInt,
}

This errors indicate a problem in a primitive parsing. It comes always wrapped by the "BinaryError" of the error type "IonParserError".

Variants

InvalidHeaderType
InvalidHeaderLength
TooBigForU64
VarIntTooBigForI64
NoDataToRead
NotEnoughtDataToRead(usize)
ErrorReadingData(String)
CannotReadZeroBytes
BadFormedVersionHeader
MalformedIonVersion
InvalidNullLength(ValueLength)
InvalidAnnotationLength(ValueLength)
ParsedIntTooBigThisIsABug
ThisIsABugConsumingVarUInt
ThisIsABugConsumingVarInt

Trait Implementations

impl Debug for ParsingError[src]

impl Eq for ParsingError[src]

impl From<ParsingError> for IonParserError[src]

impl PartialEq<ParsingError> for ParsingError[src]

impl StructuralEq for ParsingError[src]

impl StructuralPartialEq for ParsingError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.