[][src]Enum ion_binary_rs::ParsingError

pub enum ParsingError {
    InvalidHeaderType,
    InvalidHeaderLength,
    NoDataToRead,
    NotEnoughtDataToRead(usize),
    ErrorReadingData(String),
    CannotReadZeroBytes,
    BadFormedVersionHeader,
    InvalidNullLength(ValueLength),
    InvalidAnnotationLength(ValueLength),
    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
NoDataToRead
NotEnoughtDataToRead(usize)
ErrorReadingData(String)
CannotReadZeroBytes
BadFormedVersionHeader
InvalidNullLength(ValueLength)
InvalidAnnotationLength(ValueLength)
ThisIsABugConsumingVarUInt
ThisIsABugConsumingVarInt

Trait Implementations

impl Debug for ParsingError[src]

impl Display for ParsingError[src]

impl Eq for ParsingError[src]

impl Error 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> ToString for T where
    T: Display + ?Sized
[src]

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.