[][src]Enum ion_binary_rs::IonParserError

pub enum IonParserError {
    Unimplemented,
    BadFormatLengthFound,
    NullAnnotationFound,
    NestedAnnotations,
    BadAnnotationLength,
    SharedTableAndLocalTableDeclarationIntTheSameAnnotation,
    SymbolIdNotDefined,
    LocalTableWithoutInternalStruct,
    SharedTableDefinitionWithoutName,
    ErrorAddingSharedTableToContext(SymbolContextError),
    ErrorAddingCreatingLocal(SymbolContextError),
    LocalSymbolTableWithoutValidImport,
    SymbolNotFoundInTable,
    ListLengthWasTooShort,
    NonUtf8String,
    DidNotGetAListConsumingAListThisIsABug,
    SymbolIdTooBig,
    TableVersionTooBig,
    DateValueTooBig,
    DateSecondFractionOverflow,
    DateNegativeSecondFraction,
    DateWithHourButNoMinutes,
    ValueLenTooBig,
    NotValidLengthFloat,
    BinaryError(ParsingError),
    DecimalExponentTooBig,
    InvalidBoolLength(ValueLength),
    InvalidDate(i32u32u32u32u32u32u32),
    InvalidReservedTypeDescriptor,
    InvalidNegativeInt,
    EmptyOrderedStruct,
}

Indicated a problem in the binary blob internal structure. When all data is read the library will return IonParserError::BinaryError(ParsingError::NoDataToRead).

Variants

Unimplemented
BadFormatLengthFound
NullAnnotationFound
NestedAnnotations
BadAnnotationLength
SharedTableAndLocalTableDeclarationIntTheSameAnnotation
SymbolIdNotDefined
LocalTableWithoutInternalStruct
SharedTableDefinitionWithoutName
ErrorAddingSharedTableToContext(SymbolContextError)
ErrorAddingCreatingLocal(SymbolContextError)
LocalSymbolTableWithoutValidImport
SymbolNotFoundInTable
ListLengthWasTooShort
NonUtf8String
DidNotGetAListConsumingAListThisIsABug
SymbolIdTooBig
TableVersionTooBig
DateValueTooBig
DateSecondFractionOverflow
DateNegativeSecondFraction
DateWithHourButNoMinutes
ValueLenTooBig
NotValidLengthFloat
BinaryError(ParsingError)
DecimalExponentTooBig
InvalidBoolLength(ValueLength)
InvalidDate(i32u32u32u32u32u32u32)
InvalidReservedTypeDescriptor
InvalidNegativeInt
EmptyOrderedStruct

Trait Implementations

impl Debug for IonParserError[src]

impl Eq for IonParserError[src]

impl From<ParsingError> for IonParserError[src]

impl PartialEq<IonParserError> for IonParserError[src]

impl StructuralEq for IonParserError[src]

impl StructuralPartialEq for IonParserError[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, 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.