pub enum OrcError {
Show 25 variants
SeekError {
source: Error,
location: Location,
},
IoError {
source: Error,
location: Location,
},
EmptyFile {
location: Location,
},
InvalidInput {
msg: String,
location: Location,
},
OutOfSpec {
msg: String,
location: Location,
},
MapBuilder {
source: ArrowError,
location: Location,
},
StringBuilder {
source: ArrowError,
location: Location,
},
DecodeFloat {
location: Location,
source: Error,
},
DecodeProto {
location: Location,
source: DecodeError,
},
NoTypes {
location: Location,
},
UnsupportedType {
location: Location,
kind: Kind,
},
FieldNotFound {
location: Location,
name: String,
},
InvalidColumn {
location: Location,
name: String,
},
InvalidColumnEncoding {
location: Location,
name: String,
encoding: Kind,
},
AddDays {
location: Location,
},
InvalidUft8 {
location: Location,
source: FromUtf8Error,
},
OutOfBound {
location: Location,
index: usize,
},
ConvertRecordBatch {
location: Location,
source: ArrowError,
},
VarintTooLarge {
location: Location,
},
Unexpected {
location: Location,
msg: String,
},
BuildZstdDecoder {
location: Location,
source: Error,
},
BuildSnappyDecoder {
location: Location,
source: Error,
},
BuildLzoDecoder {
location: Location,
source: Error,
},
BuildLz4Decoder {
location: Location,
source: DecompressError,
},
Arrow {
source: ArrowError,
location: Location,
},
}
Variants§
SeekError
IoError
EmptyFile
InvalidInput
OutOfSpec
MapBuilder
StringBuilder
DecodeFloat
DecodeProto
NoTypes
UnsupportedType
FieldNotFound
InvalidColumn
InvalidColumnEncoding
AddDays
InvalidUft8
OutOfBound
ConvertRecordBatch
VarintTooLarge
Unexpected
BuildZstdDecoder
BuildSnappyDecoder
BuildLzoDecoder
BuildLz4Decoder
Arrow
Trait Implementations§
source§impl Error for OrcError
impl Error for OrcError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl ErrorCompat for OrcError
impl ErrorCompat for OrcError
source§fn iter_chain(&self) -> ChainCompat<'_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source
. Read moresource§impl From<OrcError> for ArrowError
impl From<OrcError> for ArrowError
source§impl IntoError<OrcError> for AddDaysSnafu
impl IntoError<OrcError> for AddDaysSnafu
source§impl IntoError<OrcError> for ArrowSnafu
impl IntoError<OrcError> for ArrowSnafu
§type Source = ArrowError
type Source = ArrowError
The underlying error
source§fn into_error(self, error: Self::Source) -> OrcError
fn into_error(self, error: Self::Source) -> OrcError
Combine the information to produce the error
source§impl IntoError<OrcError> for BuildLz4DecoderSnafu
impl IntoError<OrcError> for BuildLz4DecoderSnafu
§type Source = DecompressError
type Source = DecompressError
The underlying error
source§fn into_error(self, error: Self::Source) -> OrcError
fn into_error(self, error: Self::Source) -> OrcError
Combine the information to produce the error
source§impl IntoError<OrcError> for BuildLzoDecoderSnafu
impl IntoError<OrcError> for BuildLzoDecoderSnafu
source§impl IntoError<OrcError> for BuildSnappyDecoderSnafu
impl IntoError<OrcError> for BuildSnappyDecoderSnafu
source§impl IntoError<OrcError> for BuildZstdDecoderSnafu
impl IntoError<OrcError> for BuildZstdDecoderSnafu
source§impl IntoError<OrcError> for ConvertRecordBatchSnafu
impl IntoError<OrcError> for ConvertRecordBatchSnafu
§type Source = ArrowError
type Source = ArrowError
The underlying error
source§fn into_error(self, error: Self::Source) -> OrcError
fn into_error(self, error: Self::Source) -> OrcError
Combine the information to produce the error
source§impl IntoError<OrcError> for DecodeFloatSnafu
impl IntoError<OrcError> for DecodeFloatSnafu
source§impl IntoError<OrcError> for DecodeProtoSnafu
impl IntoError<OrcError> for DecodeProtoSnafu
§type Source = DecodeError
type Source = DecodeError
The underlying error
source§fn into_error(self, error: Self::Source) -> OrcError
fn into_error(self, error: Self::Source) -> OrcError
Combine the information to produce the error
source§impl IntoError<OrcError> for EmptyFileSnafu
impl IntoError<OrcError> for EmptyFileSnafu
source§impl<__T0> IntoError<OrcError> for FieldNotFoundSnafu<__T0>
impl<__T0> IntoError<OrcError> for FieldNotFoundSnafu<__T0>
source§impl<__T0, __T1> IntoError<OrcError> for InvalidColumnEncodingSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<OrcError> for InvalidColumnEncodingSnafu<__T0, __T1>
source§impl<__T0> IntoError<OrcError> for InvalidColumnSnafu<__T0>
impl<__T0> IntoError<OrcError> for InvalidColumnSnafu<__T0>
source§impl<__T0> IntoError<OrcError> for InvalidInputSnafu<__T0>
impl<__T0> IntoError<OrcError> for InvalidInputSnafu<__T0>
source§impl IntoError<OrcError> for InvalidUft8Snafu
impl IntoError<OrcError> for InvalidUft8Snafu
§type Source = FromUtf8Error
type Source = FromUtf8Error
The underlying error
source§fn into_error(self, error: Self::Source) -> OrcError
fn into_error(self, error: Self::Source) -> OrcError
Combine the information to produce the error
source§impl IntoError<OrcError> for MapBuilderSnafu
impl IntoError<OrcError> for MapBuilderSnafu
§type Source = ArrowError
type Source = ArrowError
The underlying error
source§fn into_error(self, error: Self::Source) -> OrcError
fn into_error(self, error: Self::Source) -> OrcError
Combine the information to produce the error
source§impl IntoError<OrcError> for NoTypesSnafu
impl IntoError<OrcError> for NoTypesSnafu
source§impl<__T0> IntoError<OrcError> for OutOfBoundSnafu<__T0>
impl<__T0> IntoError<OrcError> for OutOfBoundSnafu<__T0>
source§impl<__T0> IntoError<OrcError> for OutOfSpecSnafu<__T0>
impl<__T0> IntoError<OrcError> for OutOfSpecSnafu<__T0>
source§impl IntoError<OrcError> for StringBuilderSnafu
impl IntoError<OrcError> for StringBuilderSnafu
§type Source = ArrowError
type Source = ArrowError
The underlying error
source§fn into_error(self, error: Self::Source) -> OrcError
fn into_error(self, error: Self::Source) -> OrcError
Combine the information to produce the error
source§impl<__T0> IntoError<OrcError> for UnexpectedSnafu<__T0>
impl<__T0> IntoError<OrcError> for UnexpectedSnafu<__T0>
source§impl<__T0> IntoError<OrcError> for UnsupportedTypeSnafu<__T0>
impl<__T0> IntoError<OrcError> for UnsupportedTypeSnafu<__T0>
Auto Trait Implementations§
impl Freeze for OrcError
impl !RefUnwindSafe for OrcError
impl Send for OrcError
impl Sync for OrcError
impl Unpin for OrcError
impl !UnwindSafe for OrcError
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more