pub enum ArtifactStoreError {
Show 16 variants
Invalid(DomainError),
NotFound,
ArtifactTooLarge {
actual: u64,
max: u64,
},
ChunkTooLarge {
actual: usize,
max: u32,
},
UnexpectedOffset {
expected: u64,
actual: u64,
},
ChunkDigestMismatch,
Incomplete {
expected: u64,
actual: u64,
},
FinalDigestMismatch,
UploadCommitted,
UploadAborted,
IdempotencyConflict,
Tombstoned,
AccessDenied,
StorageUnavailable,
InvalidBackup,
InvalidCursor,
}Expand description
Stable failure vocabulary for artifact storage and transfer.
Variants§
Invalid(DomainError)
NotFound
ArtifactTooLarge
ChunkTooLarge
UnexpectedOffset
ChunkDigestMismatch
Incomplete
FinalDigestMismatch
UploadCommitted
UploadAborted
IdempotencyConflict
Tombstoned
AccessDenied
InvalidBackup
InvalidCursor
Trait Implementations§
Source§impl Clone for ArtifactStoreError
impl Clone for ArtifactStoreError
Source§fn clone(&self) -> ArtifactStoreError
fn clone(&self) -> ArtifactStoreError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArtifactStoreError
impl Debug for ArtifactStoreError
Source§impl Display for ArtifactStoreError
impl Display for ArtifactStoreError
Source§impl Error for ArtifactStoreError
impl Error for ArtifactStoreError
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<DomainError> for ArtifactStoreError
impl From<DomainError> for ArtifactStoreError
Source§fn from(source: DomainError) -> Self
fn from(source: DomainError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ArtifactStoreError
impl PartialEq for ArtifactStoreError
impl StructuralPartialEq for ArtifactStoreError
Auto Trait Implementations§
impl Freeze for ArtifactStoreError
impl RefUnwindSafe for ArtifactStoreError
impl Send for ArtifactStoreError
impl Sync for ArtifactStoreError
impl Unpin for ArtifactStoreError
impl UnsafeUnpin for ArtifactStoreError
impl UnwindSafe for ArtifactStoreError
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