pub enum DremioClientError {
TonicError(Error),
ArrowError(ArrowError),
FlightError(FlightError),
IoError(Error),
ParquetError(ParquetError),
}Expand description
Represents the possible errors that can occur when using the Dremio client.
Variants§
TonicError(Error)
An error originating from the tonic gRPC framework.
ArrowError(ArrowError)
An error originating from the arrow data processing library.
FlightError(FlightError)
An error originating from the arrow-flight Flight SQL client.
IoError(Error)
An error originating from standard I/O operations.
ParquetError(ParquetError)
An error originating from the parquet file format library.
Trait Implementations§
Source§impl Debug for DremioClientError
impl Debug for DremioClientError
Source§impl Display for DremioClientError
impl Display for DremioClientError
Source§impl Error for DremioClientError
impl Error for DremioClientError
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<ArrowError> for DremioClientError
impl From<ArrowError> for DremioClientError
Source§fn from(source: ArrowError) -> Self
fn from(source: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DremioClientError
impl From<Error> for DremioClientError
Source§fn from(source: TonicError) -> Self
fn from(source: TonicError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DremioClientError
impl From<Error> for DremioClientError
Source§impl From<FlightError> for DremioClientError
impl From<FlightError> for DremioClientError
Source§fn from(source: FlightError) -> Self
fn from(source: FlightError) -> Self
Converts to this type from the input type.
Source§impl From<ParquetError> for DremioClientError
impl From<ParquetError> for DremioClientError
Source§fn from(source: ParquetError) -> Self
fn from(source: ParquetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DremioClientError
impl !RefUnwindSafe for DremioClientError
impl Send for DremioClientError
impl Sync for DremioClientError
impl Unpin for DremioClientError
impl UnsafeUnpin for DremioClientError
impl !UnwindSafe for DremioClientError
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