Enum google_cloud_bigquery::storage::error::ArrowError
pub enum ArrowError {
Show 16 variants
NotYetImplemented(String),
ExternalError(Box<dyn Error + Send + Sync, Global>),
CastError(String),
MemoryError(String),
ParseError(String),
SchemaError(String),
ComputeError(String),
DivideByZero,
CsvError(String),
JsonError(String),
IoError(String),
InvalidArgumentError(String),
ParquetError(String),
CDataInterface(String),
DictionaryKeyOverflowError,
RunEndIndexOverflowError,
}Expand description
Many different operations in the arrow crate return this error type.
Variants§
NotYetImplemented(String)
Returned when functionality is not yet available.
ExternalError(Box<dyn Error + Send + Sync, Global>)
CastError(String)
MemoryError(String)
ParseError(String)
SchemaError(String)
ComputeError(String)
DivideByZero
CsvError(String)
JsonError(String)
IoError(String)
InvalidArgumentError(String)
ParquetError(String)
CDataInterface(String)
Error during import or export to/from the C Data Interface
DictionaryKeyOverflowError
RunEndIndexOverflowError
Implementations§
§impl ArrowError
impl ArrowError
pub fn from_external_error(
error: Box<dyn Error + Send + Sync, Global>
) -> ArrowError
pub fn from_external_error( error: Box<dyn Error + Send + Sync, Global> ) -> ArrowError
Wraps an external error in an ArrowError.
Trait Implementations§
§impl Debug for ArrowError
impl Debug for ArrowError
§impl Display for ArrowError
impl Display for ArrowError
§impl Error for ArrowError
impl Error for ArrowError
§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ArrowError> for Error
impl From<ArrowError> for Error
source§fn from(source: ArrowError) -> Self
fn from(source: ArrowError) -> Self
Converts to this type from the input type.
§impl From<Error> for ArrowError
impl From<Error> for ArrowError
§fn from(error: Error) -> ArrowError
fn from(error: Error) -> ArrowError
Converts to this type from the input type.
§impl From<FromUtf8Error> for ArrowError
impl From<FromUtf8Error> for ArrowError
§fn from(error: FromUtf8Error) -> ArrowError
fn from(error: FromUtf8Error) -> ArrowError
Converts to this type from the input type.
§impl<W> From<IntoInnerError<W>> for ArrowErrorwhere
W: Write,
impl<W> From<IntoInnerError<W>> for ArrowErrorwhere W: Write,
§fn from(error: IntoInnerError<W>) -> ArrowError
fn from(error: IntoInnerError<W>) -> ArrowError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ArrowError
impl Send for ArrowError
impl Sync for ArrowError
impl Unpin for ArrowError
impl !UnwindSafe for ArrowError
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request