Enum ParquetError Copy item path Source #[non_exhaustive]
pub enum ParquetError {
General(String ),
NYI(String ),
EOF(String ),
ArrowError(String ),
IndexOutOfBound(usize , usize ),
External(Box <dyn Error + Send + Sync >),
NeedMoreData(usize ),
NeedMoreDataRange(Range <u64 >),
}Expand description Parquet error enumeration
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.
General Parquet error.
Returned when code violates normal workflow of working with Parquet files.
“Not yet implemented” Parquet error.
Returned when functionality is not yet available.
“End of file” Parquet error.
Returned when IO related failures occur, e.g. when there are not enough bytes to
decode.
Arrow error.
Returned when reading into arrow or writing from arrow.
Error when the requested column index is more than the
number of columns in the row group
An external error variant
Returned when a function needs more data to complete properly. The usize field indicates
the total number of bytes required, not the number of additional bytes.
Returned when a function needs more data to complete properly.
The Range<u64> indicates the range of bytes that are needed.
Formats the value using the given formatter.
Read more Formats the value using the given formatter.
Read more Returns the lower-level source of this error, if any.
Read more 👎 Deprecated since 1.42.0: use the Display impl or to_string()
👎 Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬 This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports.
Read more Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more Returns the argument unchanged.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
Converts the given value to a
String.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.