pub enum S3SnapshotError {
BucketDisappeared {
bucket: String,
},
ReadObject {
bucket: String,
key: String,
version_id: String,
source: Box<S3ServiceError>,
},
ReadPart {
bucket: String,
upload_id: String,
part_number: u32,
source: Box<S3ServiceError>,
},
WriteObject {
bucket: String,
key: String,
version_id: String,
source: Box<S3ServiceError>,
},
WritePart {
bucket: String,
upload_id: String,
part_number: u32,
source: Box<S3ServiceError>,
},
Io {
path: String,
source: Error,
},
InvalidDataPath {
path: String,
},
}Expand description
Errors raised while exporting or importing S3 snapshots.
Variants§
BucketDisappeared
Bucket referenced in the bucket list disappeared during export.
ReadObject
Object data could not be read through the storage backend.
Fields
§
source: Box<S3ServiceError>Source error.
ReadPart
Multipart part data could not be read through the storage backend.
Fields
§
source: Box<S3ServiceError>Source error.
WriteObject
Object data could not be written through the storage backend.
Fields
§
source: Box<S3ServiceError>Source error.
WritePart
Multipart part data could not be written through the storage backend.
Fields
§
source: Box<S3ServiceError>Source error.
Io
File-system I/O failed.
InvalidDataPath
Snapshot metadata referenced a data path outside its data directory.
Trait Implementations§
Source§impl Debug for S3SnapshotError
impl Debug for S3SnapshotError
Source§impl Display for S3SnapshotError
impl Display for S3SnapshotError
Source§impl Error for S3SnapshotError
impl Error for S3SnapshotError
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()
Auto Trait Implementations§
impl Freeze for S3SnapshotError
impl !RefUnwindSafe for S3SnapshotError
impl Send for S3SnapshotError
impl Sync for S3SnapshotError
impl Unpin for S3SnapshotError
impl UnsafeUnpin for S3SnapshotError
impl !UnwindSafe for S3SnapshotError
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