Enum orc_format::error::Error
source · [−]pub enum Error {
OutOfSpec,
InvalidUtf8,
InvalidColumn(u32),
InvalidKind(u32, Kind),
DecodeFloat,
Decompression,
InvalidProto,
}
Expand description
Possible errors from this crate.
Variants
OutOfSpec
Generic error returned when the file is out of spec
InvalidUtf8
When a string column contains a value with invalid UTF8
InvalidColumn(u32)
When the user requests a column that does not exist
InvalidKind(u32, Kind)
When the user requests a type that does not exist for the given column
DecodeFloat
When decoding a float fails
Decompression
When decompression fails
InvalidProto
When decoding the proto files fail
Trait Implementations
sourceimpl From<DecodeError> for Error
impl From<DecodeError> for Error
sourcefn from(_: DecodeError) -> Self
fn from(_: DecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more