Enum snowflake_api::SnowflakeApiError
source · pub enum SnowflakeApiError {
Show 17 variants
RequestError(ConnectionError),
AuthError(AuthError),
ResponseDeserializationError(DecodeError),
ArrowError(ArrowError),
InvalidBucketPath(String),
InvalidLocalPath(String),
LocalIoError(Error),
ObjectStoreError(Error),
ObjectStorePathError(Error),
TokioTaskJoinError(JoinError),
ApiError(String, String),
EmptyResponse,
BrokenResponse,
Unimplemented(String),
UnexpectedResponse,
GlobPatternError(PatternError),
GlobError(GlobError),
}
Variants§
RequestError(ConnectionError)
AuthError(AuthError)
ResponseDeserializationError(DecodeError)
ArrowError(ArrowError)
InvalidBucketPath(String)
InvalidLocalPath(String)
LocalIoError(Error)
ObjectStoreError(Error)
ObjectStorePathError(Error)
TokioTaskJoinError(JoinError)
ApiError(String, String)
EmptyResponse
BrokenResponse
Unimplemented(String)
UnexpectedResponse
GlobPatternError(PatternError)
GlobError(GlobError)
Trait Implementations§
source§impl Debug for SnowflakeApiError
impl Debug for SnowflakeApiError
source§impl Display for SnowflakeApiError
impl Display for SnowflakeApiError
source§impl Error for SnowflakeApiError
impl Error for SnowflakeApiError
source§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 SnowflakeApiError
impl From<ArrowError> for SnowflakeApiError
source§fn from(source: ArrowError) -> Self
fn from(source: ArrowError) -> Self
Converts to this type from the input type.
source§impl From<ConnectionError> for SnowflakeApiError
impl From<ConnectionError> for SnowflakeApiError
source§fn from(source: ConnectionError) -> Self
fn from(source: ConnectionError) -> Self
Converts to this type from the input type.
source§impl From<DecodeError> for SnowflakeApiError
impl From<DecodeError> for SnowflakeApiError
source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for SnowflakeApiError
impl From<Error> for SnowflakeApiError
source§impl From<Error> for SnowflakeApiError
impl From<Error> for SnowflakeApiError
source§impl From<Error> for SnowflakeApiError
impl From<Error> for SnowflakeApiError
source§impl From<GlobError> for SnowflakeApiError
impl From<GlobError> for SnowflakeApiError
source§impl From<JoinError> for SnowflakeApiError
impl From<JoinError> for SnowflakeApiError
source§impl From<PatternError> for SnowflakeApiError
impl From<PatternError> for SnowflakeApiError
source§fn from(source: PatternError) -> Self
fn from(source: PatternError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SnowflakeApiError
impl !RefUnwindSafe for SnowflakeApiError
impl Send for SnowflakeApiError
impl Sync for SnowflakeApiError
impl Unpin for SnowflakeApiError
impl !UnwindSafe for SnowflakeApiError
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more