#[non_exhaustive]pub enum ParquetError {
OutOfSpec(String),
FeatureNotActive(Feature, String),
FeatureNotSupported(String),
InvalidParameter(String),
WouldOverAllocate,
}
Expand description
Errors generated by this crate
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OutOfSpec(String)
When the parquet file is known to be out of spec.
FeatureNotActive(Feature, String)
Error presented when trying to use a code branch that requires activating a feature.
FeatureNotSupported(String)
Error presented when trying to use a feature from parquet that is not yet supported
InvalidParameter(String)
When encoding, the user passed an invalid parameter
WouldOverAllocate
When decoding or decompressing, the page would allocate more memory than allowed
Trait Implementations§
Source§impl Clone for ParquetError
impl Clone for ParquetError
Source§fn clone(&self) -> ParquetError
fn clone(&self) -> ParquetError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParquetError
impl Debug for ParquetError
Source§impl Display for ParquetError
impl Display for ParquetError
Source§impl Error for ParquetError
impl Error for ParquetError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for ParquetError
impl From<Error> for ParquetError
Source§fn from(e: Error) -> ParquetError
fn from(e: Error) -> ParquetError
Converts to this type from the input type.
Source§impl From<Error> for ParquetError
impl From<Error> for ParquetError
Source§fn from(e: Error) -> ParquetError
fn from(e: Error) -> ParquetError
Converts to this type from the input type.
Source§impl From<ParquetError> for PolarsError
impl From<ParquetError> for PolarsError
Source§fn from(e: ParquetError) -> PolarsError
fn from(e: ParquetError) -> PolarsError
Converts to this type from the input type.
Source§impl From<PolarsError> for ParquetError
impl From<PolarsError> for ParquetError
Source§fn from(e: PolarsError) -> ParquetError
fn from(e: PolarsError) -> ParquetError
Converts to this type from the input type.
Source§impl From<TryFromIntError> for ParquetError
impl From<TryFromIntError> for ParquetError
Source§fn from(e: TryFromIntError) -> ParquetError
fn from(e: TryFromIntError) -> ParquetError
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for ParquetError
impl From<TryFromSliceError> for ParquetError
Source§fn from(e: TryFromSliceError) -> ParquetError
fn from(e: TryFromSliceError) -> ParquetError
Converts to this type from the input type.
Source§impl From<TryReserveError> for ParquetError
impl From<TryReserveError> for ParquetError
Source§fn from(e: TryReserveError) -> ParquetError
fn from(e: TryReserveError) -> ParquetError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParquetError
impl RefUnwindSafe for ParquetError
impl Send for ParquetError
impl Sync for ParquetError
impl Unpin for ParquetError
impl UnwindSafe for ParquetError
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string()
Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more