pub enum CloudEnhancedError {
Show 21 variants
AwsService(String),
AzureService(String),
GcpService(String),
Authentication(String),
QueryExecution(String),
DataCatalog(String),
MlService(String),
Monitoring(String),
CostOptimization(String),
Configuration(String),
Serialization(String),
Io(Error),
Arrow(String),
Parquet(String),
InvalidState(String),
Timeout(String),
NotFound(String),
PermissionDenied(String),
QuotaExceeded(String),
InvalidArgument(String),
Generic(String),
}Expand description
Errors that can occur during cloud-enhanced operations.
Variants§
AwsService(String)
AWS service error
AzureService(String)
Azure service error
GcpService(String)
GCP service error
Authentication(String)
Authentication error
QueryExecution(String)
Query execution error
DataCatalog(String)
Data catalog error
MlService(String)
ML service error
Monitoring(String)
Monitoring error
CostOptimization(String)
Cost optimization error
Configuration(String)
Configuration error
Serialization(String)
Serialization error
Io(Error)
IO error
Arrow(String)
Arrow error
Parquet(String)
Parquet error
InvalidState(String)
Invalid state
Timeout(String)
Timeout error
NotFound(String)
Not found error
PermissionDenied(String)
Permission denied
QuotaExceeded(String)
Quota exceeded
InvalidArgument(String)
Invalid argument
Generic(String)
Generic error
Implementations§
Source§impl CloudEnhancedError
impl CloudEnhancedError
Sourcepub fn aws_service(msg: impl Into<String>) -> Self
pub fn aws_service(msg: impl Into<String>) -> Self
Creates a new AWS service error.
Sourcepub fn azure_service(msg: impl Into<String>) -> Self
pub fn azure_service(msg: impl Into<String>) -> Self
Creates a new Azure service error.
Sourcepub fn gcp_service(msg: impl Into<String>) -> Self
pub fn gcp_service(msg: impl Into<String>) -> Self
Creates a new GCP service error.
Sourcepub fn authentication(msg: impl Into<String>) -> Self
pub fn authentication(msg: impl Into<String>) -> Self
Creates a new authentication error.
Sourcepub fn query_execution(msg: impl Into<String>) -> Self
pub fn query_execution(msg: impl Into<String>) -> Self
Creates a new query execution error.
Sourcepub fn data_catalog(msg: impl Into<String>) -> Self
pub fn data_catalog(msg: impl Into<String>) -> Self
Creates a new data catalog error.
Sourcepub fn ml_service(msg: impl Into<String>) -> Self
pub fn ml_service(msg: impl Into<String>) -> Self
Creates a new ML service error.
Sourcepub fn monitoring(msg: impl Into<String>) -> Self
pub fn monitoring(msg: impl Into<String>) -> Self
Creates a new monitoring error.
Sourcepub fn cost_optimization(msg: impl Into<String>) -> Self
pub fn cost_optimization(msg: impl Into<String>) -> Self
Creates a new cost optimization error.
Sourcepub fn configuration(msg: impl Into<String>) -> Self
pub fn configuration(msg: impl Into<String>) -> Self
Creates a new configuration error.
Sourcepub fn serialization(msg: impl Into<String>) -> Self
pub fn serialization(msg: impl Into<String>) -> Self
Creates a new serialization error.
Sourcepub fn invalid_state(msg: impl Into<String>) -> Self
pub fn invalid_state(msg: impl Into<String>) -> Self
Creates a new invalid state error.
Sourcepub fn permission_denied(msg: impl Into<String>) -> Self
pub fn permission_denied(msg: impl Into<String>) -> Self
Creates a new permission denied error.
Sourcepub fn quota_exceeded(msg: impl Into<String>) -> Self
pub fn quota_exceeded(msg: impl Into<String>) -> Self
Creates a new quota exceeded error.
Sourcepub fn invalid_argument(msg: impl Into<String>) -> Self
pub fn invalid_argument(msg: impl Into<String>) -> Self
Creates a new invalid argument error.
Trait Implementations§
Source§impl Debug for CloudEnhancedError
impl Debug for CloudEnhancedError
Source§impl Display for CloudEnhancedError
impl Display for CloudEnhancedError
Source§impl Error for CloudEnhancedError
impl Error for CloudEnhancedError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<ArrowError> for CloudEnhancedError
impl From<ArrowError> for CloudEnhancedError
Source§fn from(err: ArrowError) -> Self
fn from(err: ArrowError) -> Self
Source§impl From<Error> for CloudEnhancedError
impl From<Error> for CloudEnhancedError
Source§impl From<Error> for CloudEnhancedError
impl From<Error> for CloudEnhancedError
Source§impl From<ParquetError> for CloudEnhancedError
impl From<ParquetError> for CloudEnhancedError
Source§fn from(err: ParquetError) -> Self
fn from(err: ParquetError) -> Self
Auto Trait Implementations§
impl Freeze for CloudEnhancedError
impl !RefUnwindSafe for CloudEnhancedError
impl Send for CloudEnhancedError
impl Sync for CloudEnhancedError
impl Unpin for CloudEnhancedError
impl UnsafeUnpin for CloudEnhancedError
impl !UnwindSafe for CloudEnhancedError
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
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>
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>
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.