#[non_exhaustive]
pub enum Error {
NotYetImplemented(String),
External(String, Box<dyn Error + Send + Sync>),
Io(Error),
InvalidArgumentError(String),
ExternalFormat(String),
Overflow,
OutOfSpec(String),
}
Expand description
Enum with all errors in 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.
NotYetImplemented(String)
Returned when functionality is not yet available.
External(String, Box<dyn Error + Send + Sync>)
Wrapper for an error triggered by a dependency
Io(Error)
Wrapper for IO errors
InvalidArgumentError(String)
When an invalid argument is passed to a function.
ExternalFormat(String)
Error during import or export to/from a format
Overflow
Whenever pushing to a container fails because it does not support more entries. The solution is usually to use a higher-capacity container-backing type.
OutOfSpec(String)
Whenever incoming data from the C data interface, IPC or Flight does not fulfil the Arrow specification.
Implementations
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for Error
Available on crate features io_csv_read
or io_csv_read_async
or io_csv_write
only.
impl From<Error> for Error
Available on crate features
io_csv_read
or io_csv_read_async
or io_csv_write
only.sourceimpl From<Error> for Error
Available on crate feature io_csv_read_async
and (crate features io_csv_read
or io_csv_read_async
or io_csv_write
) only.
impl From<Error> for Error
Available on crate feature
io_csv_read_async
and (crate features io_csv_read
or io_csv_read_async
or io_csv_write
) only.sourceimpl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
sourcefn from(error: FromUtf8Error) -> Self
fn from(error: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfSpecKind> for Error
Available on crate feature io_ipc
only.
impl From<OutOfSpecKind> for Error
Available on crate feature
io_ipc
only.sourcefn from(kind: OutOfSpecKind) -> Self
fn from(kind: OutOfSpecKind) -> Self
Converts to this type from the input type.
sourceimpl From<ParseError> for Error
Available on crate features io_csv_read
or io_csv_read_async
or io_csv_write
only.
impl From<ParseError> for Error
Available on crate features
io_csv_read
or io_csv_read_async
or io_csv_write
only.sourcefn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
sourceimpl From<TryReserveError> for Error
impl From<TryReserveError> for Error
sourcefn from(_: TryReserveError) -> Error
fn from(_: TryReserveError) -> Error
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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