pub enum StorageCheckError {
S3VersioningUnsupported {
state: S3BucketVersioning,
},
S3VersioningUnknown {
source: Arc<StorageError>,
},
ProviderCheck {
check: StorageCheck,
source: StorageError,
},
Storage(StorageError),
}Expand description
A provider or S3 settings check refused the location (§20.7, §20.8).
Variants§
S3VersioningUnsupported
This profile has no certification with bucket versioning enabled.
Fields
§
state: S3BucketVersioningThe bucket’s observed versioning state.
S3VersioningUnknown
The bucket state is unknown and this profile has no versioning certification.
Fields
§
source: Arc<StorageError>The refused versioning read, retaining its native cause.
ProviderCheck
A provider check failed; cleanup failures retain both causes.
Fields
§
check: StorageCheckThe operation that failed.
§
source: StorageErrorThe original failure, including cleanup if that also failed.
Storage(StorageError)
A classified storage failure.
Trait Implementations§
Source§impl CarriesBug for StorageCheckError
impl CarriesBug for StorageCheckError
Source§impl Debug for StorageCheckError
impl Debug for StorageCheckError
Source§impl Display for StorageCheckError
impl Display for StorageCheckError
Source§impl Error for StorageCheckError
impl Error for StorageCheckError
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<StorageError> for StorageCheckError
impl From<StorageError> for StorageCheckError
Source§fn from(error: StorageError) -> Self
fn from(error: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StorageCheckError
impl !RefUnwindSafe for StorageCheckError
impl Send for StorageCheckError
impl Sync for StorageCheckError
impl Unpin for StorageCheckError
impl UnsafeUnpin for StorageCheckError
impl !UnwindSafe for StorageCheckError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 moreCreates a shared type from an unshared type.