[][src]Enum avrow::AvrowErr

pub enum AvrowErr {
    EncodeFailed(Error),
    SchemaDataMismatch,
    InvalidDataFile,
    SyncMarkerMismatch,
    SchemaNotFoundInUnion,
    InvalidFieldValue(String),
    WriterSeekFailed,
    NoImmediateUnion,
    WriterBuildFailed,
    ExpectedJsonObject,
    DecodeFailed(Error),
    HeaderDecodeFailed,
    UnsupportedCodec(String),
    NamedSchemaNotFound,
    SchemaResolutionFailed(StringString),
    InvalidEnumSymbolIdx(usizeString),
    FieldNotFound,
    WriterNotInReader,
    UnionSchemaMismatch,
    MapSchemaMismatch,
    FixedSchemaNameMismatch,
    EnumSymbolNotFound {
        idx: usize,
    },
    EnumNameMismatch,
    RecordNameMismatch,
    ArrayItemsMismatch,
    SnappyDecompressLenFailed,
    Eof,
    SchemaParseErr(Error),
    SchemaParseFailed,
    SchemaFieldParseErr(String),
    SchemaDataValidationFailed(StringString),
    RecordFieldMissing,
    RecordNameNotFound,
    RecordTypeNotFound,
    ExpectedFieldsJsonArray,
    InvalidRecordFieldType,
    ParseFieldOrderErr(String),
    NameParseFailed,
    ParsingCanonicalForm,
    DuplicateSchema,
    FailedDefaultUnion,
    DefaultValueParse,
    UnknownFieldOrdering,
    InvalidFieldOrdering,
    EnumSymbolParseErr,
    EnumSymbolsMissing,
    EnumSymbolNotPresent,
    FixedSizeNotNumber,
    FixedSizeNotFound,
    DuplicateSchemaInUnion,
    UnknownSchema,
    InvalidSchema(String),
    InvalidDefaultValue(String),
    InvalidType(String),
    EnumParseErr(String),
    InvalidPrimitiveSchema,
    FixedValueLenMismatch {
        found: usize,
        expected: usize,
    },
    InvalidNamespace,
    InvalidName,
    EmptyArray,
    EmptyMap,
    CRCGenFailed,
    CRCMismatch {
        found: u32,
        expected: u32,
    },
    NamedSchemaNotFoundForValue,
    NotFoundInUnion,
    Message(String),
    Syntax,
    ExpectedString,
    Unsupported,
    UnexpectedAvroValue {
        value: String,
    },
    ExpectedVariantNotFound,
}

Errors returned from avrow

Variants

EncodeFailed(Error)
SchemaDataMismatch
InvalidDataFile
SyncMarkerMismatch
SchemaNotFoundInUnion
InvalidFieldValue(String)
WriterSeekFailed
NoImmediateUnion
WriterBuildFailed
ExpectedJsonObject
DecodeFailed(Error)
HeaderDecodeFailed
UnsupportedCodec(String)
NamedSchemaNotFound
SchemaResolutionFailed(StringString)
InvalidEnumSymbolIdx(usizeString)
FieldNotFound
WriterNotInReader
UnionSchemaMismatch
MapSchemaMismatch
FixedSchemaNameMismatch
EnumSymbolNotFound

Fields of EnumSymbolNotFound

idx: usize
EnumNameMismatch
RecordNameMismatch
ArrayItemsMismatch
SnappyDecompressLenFailed
Eof
SchemaParseErr(Error)
SchemaParseFailed
SchemaFieldParseErr(String)
SchemaDataValidationFailed(StringString)
RecordFieldMissing
RecordNameNotFound
RecordTypeNotFound
ExpectedFieldsJsonArray
InvalidRecordFieldType
ParseFieldOrderErr(String)
NameParseFailed
ParsingCanonicalForm
DuplicateSchema
FailedDefaultUnion
DefaultValueParse
UnknownFieldOrdering
InvalidFieldOrdering
EnumSymbolParseErr
EnumSymbolsMissing
EnumSymbolNotPresent
FixedSizeNotNumber
FixedSizeNotFound
DuplicateSchemaInUnion
UnknownSchema
InvalidSchema(String)
InvalidDefaultValue(String)
InvalidType(String)
EnumParseErr(String)
InvalidPrimitiveSchema
FixedValueLenMismatch

Fields of FixedValueLenMismatch

found: usizeexpected: usize
InvalidNamespace
InvalidName
EmptyArray
EmptyMap
CRCGenFailed
CRCMismatch

Fields of CRCMismatch

found: u32expected: u32
NamedSchemaNotFoundForValue
NotFoundInUnion
Message(String)
Syntax
ExpectedString
Unsupported
UnexpectedAvroValue

Fields of UnexpectedAvroValue

value: String
ExpectedVariantNotFound

Trait Implementations

impl Debug for AvrowErr[src]

impl Display for AvrowErr[src]

impl Error for AvrowErr[src]

impl Error for AvrowErr[src]

impl Error for AvrowErr[src]

Auto Trait Implementations

impl !RefUnwindSafe for AvrowErr

impl Send for AvrowErr

impl Sync for AvrowErr

impl Unpin for AvrowErr

impl !UnwindSafe for AvrowErr

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> 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.