Enum orc_rust::error::OrcError

source ·
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

Fields

§source: Error
§location: Location
§

IoError

Fields

§source: Error
§location: Location
§

EmptyFile

Fields

§location: Location
§

InvalidInput

Fields

§location: Location
§

OutOfSpec

Fields

§location: Location
§

MapBuilder

Fields

§source: ArrowError
§location: Location
§

StringBuilder

Fields

§source: ArrowError
§location: Location
§

DecodeFloat

Fields

§location: Location
§source: Error
§

DecodeProto

Fields

§location: Location
§

NoTypes

Fields

§location: Location
§

UnsupportedType

Fields

§location: Location
§kind: Kind
§

FieldNotFound

Fields

§location: Location
§name: String
§

InvalidColumn

Fields

§location: Location
§name: String
§

InvalidColumnEncoding

Fields

§location: Location
§name: String
§encoding: Kind
§

AddDays

Fields

§location: Location
§

InvalidUft8

Fields

§location: Location
§

OutOfBound

Fields

§location: Location
§index: usize
§

ConvertRecordBatch

Fields

§location: Location
§source: ArrowError
§

VarintTooLarge

Fields

§location: Location
§

Unexpected

Fields

§location: Location
§

BuildZstdDecoder

Fields

§location: Location
§source: Error
§

BuildSnappyDecoder

Fields

§location: Location
§source: Error
§

BuildLzoDecoder

Fields

§location: Location
§source: Error
§

BuildLz4Decoder

Fields

§location: Location
§

Arrow

Fields

§source: ArrowError
§location: Location

Trait Implementations§

source§

impl Debug for OrcError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for OrcError

source§

fn fmt(&self, __snafu_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for OrcError
where Self: Debug + Display,

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl ErrorCompat for OrcError

source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a Backtrace that may be printed.
source§

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 more
source§

impl From<OrcError> for ArrowError

source§

fn from(value: OrcError) -> Self

Converts to this type from the input type.
source§

impl IntoError<OrcError> for AddDaysSnafu

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for ArrowSnafu

§

type Source = ArrowError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for BuildLz4DecoderSnafu

§

type Source = DecompressError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for BuildLzoDecoderSnafu

§

type Source = Error

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for BuildSnappyDecoderSnafu

§

type Source = Error

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for BuildZstdDecoderSnafu

§

type Source = Error

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for ConvertRecordBatchSnafu

§

type Source = ArrowError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for DecodeFloatSnafu

§

type Source = Error

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for DecodeProtoSnafu

§

type Source = DecodeError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for EmptyFileSnafu

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl<__T0> IntoError<OrcError> for FieldNotFoundSnafu<__T0>

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl<__T0, __T1> IntoError<OrcError> for InvalidColumnEncodingSnafu<__T0, __T1>
where OrcError: Error + ErrorCompat, __T0: Into<String>, __T1: Into<Kind>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl<__T0> IntoError<OrcError> for InvalidColumnSnafu<__T0>

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl<__T0> IntoError<OrcError> for InvalidInputSnafu<__T0>

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for InvalidUft8Snafu

§

type Source = FromUtf8Error

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for IoSnafu

§

type Source = Error

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for MapBuilderSnafu

§

type Source = ArrowError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for NoTypesSnafu

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl<__T0> IntoError<OrcError> for OutOfBoundSnafu<__T0>
where OrcError: Error + ErrorCompat, __T0: Into<usize>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl<__T0> IntoError<OrcError> for OutOfSpecSnafu<__T0>

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for SeekSnafu

§

type Source = Error

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for StringBuilderSnafu

§

type Source = ArrowError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl<__T0> IntoError<OrcError> for UnexpectedSnafu<__T0>

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl<__T0> IntoError<OrcError> for UnsupportedTypeSnafu<__T0>
where OrcError: Error + ErrorCompat, __T0: Into<Kind>,

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error
source§

impl IntoError<OrcError> for VarintTooLargeSnafu

§

type Source = NoneError

The underlying error
source§

fn into_error(self, error: Self::Source) -> OrcError

Combine the information to produce the error

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> AsErrorSource for T
where T: Error + 'static,

source§

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> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.