pub enum StorageErrorCode {
Show 84 variants
Io,
FaultyDisk,
DiskFull,
VolumeNotFound,
VolumeExists,
FileNotFound,
FileVersionNotFound,
FileNameTooLong,
FileAccessDenied,
FileCorrupt,
IsNotRegular,
VolumeNotEmpty,
VolumeAccessDenied,
CorruptedFormat,
CorruptedBackend,
UnformattedDisk,
DiskNotFound,
DriveIsRoot,
FaultyRemoteDisk,
DiskAccessDenied,
Unexpected,
NotImplemented,
InvalidArgument,
MethodNotAllowed,
BucketNotFound,
BucketNotEmpty,
BucketNameInvalid,
ObjectNameInvalid,
BucketExists,
StorageFull,
SlowDown,
PrefixAccessDenied,
InvalidUploadIDKeyCombination,
MalformedUploadID,
ObjectNameTooLong,
ObjectNamePrefixAsSlash,
ObjectNotFound,
VersionNotFound,
InvalidUploadID,
InvalidVersionID,
DataMovementOverwriteErr,
ObjectExistsAsDirectory,
DecommissionNotStarted,
InvalidPart,
DoneForNow,
DecommissionAlreadyRunning,
ErasureReadQuorum,
ErasureWriteQuorum,
NotFirstDisk,
FirstDiskWait,
ConfigNotFound,
TooManyOpenFiles,
NoHealRequired,
Lock,
InsufficientReadQuorum,
InsufficientWriteQuorum,
PreconditionFailed,
EntityTooSmall,
EntityTooLarge,
InvalidRangeSpec,
NotModified,
InvalidPartNumber,
RebalanceAlreadyRunning,
OperationCanceled,
NamespaceLockQuorumUnavailable,
MaxVersionsExceeded,
InconsistentDisk,
UnsupportedDisk,
DiskNotDir,
DiskOngoingReq,
PathNotFound,
BitrotHashAlgoInvalid,
CrossDeviceLink,
LessData,
MoreData,
OutdatedXLMeta,
PartMissingOrCorrupt,
ShortWrite,
SourceStalled,
Timeout,
InvalidPath,
QuotaExceeded,
RemoteClientUnavailable,
RemoteNotInitialized,
}Expand description
Error codes for storage operations.
These codes provide a stable, cross-crate error classification that can be serialized and transmitted between nodes.
Variants§
Io
FaultyDisk
DiskFull
VolumeNotFound
VolumeExists
FileNotFound
FileVersionNotFound
FileNameTooLong
FileAccessDenied
FileCorrupt
IsNotRegular
VolumeNotEmpty
VolumeAccessDenied
CorruptedFormat
CorruptedBackend
UnformattedDisk
DiskNotFound
DriveIsRoot
FaultyRemoteDisk
DiskAccessDenied
Unexpected
NotImplemented
InvalidArgument
MethodNotAllowed
BucketNotFound
BucketNotEmpty
BucketNameInvalid
ObjectNameInvalid
BucketExists
StorageFull
SlowDown
PrefixAccessDenied
InvalidUploadIDKeyCombination
MalformedUploadID
ObjectNameTooLong
ObjectNamePrefixAsSlash
ObjectNotFound
VersionNotFound
InvalidUploadID
InvalidVersionID
DataMovementOverwriteErr
ObjectExistsAsDirectory
DecommissionNotStarted
InvalidPart
DoneForNow
DecommissionAlreadyRunning
ErasureReadQuorum
ErasureWriteQuorum
NotFirstDisk
FirstDiskWait
ConfigNotFound
TooManyOpenFiles
NoHealRequired
Lock
InsufficientReadQuorum
InsufficientWriteQuorum
PreconditionFailed
EntityTooSmall
EntityTooLarge
InvalidRangeSpec
NotModified
InvalidPartNumber
RebalanceAlreadyRunning
OperationCanceled
MaxVersionsExceeded
InconsistentDisk
UnsupportedDisk
DiskNotDir
DiskOngoingReq
PathNotFound
BitrotHashAlgoInvalid
CrossDeviceLink
LessData
MoreData
OutdatedXLMeta
PartMissingOrCorrupt
ShortWrite
SourceStalled
Timeout
InvalidPath
QuotaExceeded
RemoteNotInitialized
Implementations§
Trait Implementations§
Source§impl Clone for StorageErrorCode
impl Clone for StorageErrorCode
Source§fn clone(&self) -> StorageErrorCode
fn clone(&self) -> StorageErrorCode
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 moreimpl Copy for StorageErrorCode
Source§impl Debug for StorageErrorCode
impl Debug for StorageErrorCode
impl Eq for StorageErrorCode
Source§impl Hash for StorageErrorCode
impl Hash for StorageErrorCode
Source§impl PartialEq for StorageErrorCode
impl PartialEq for StorageErrorCode
impl StructuralPartialEq for StorageErrorCode
Auto Trait Implementations§
impl Freeze for StorageErrorCode
impl RefUnwindSafe for StorageErrorCode
impl Send for StorageErrorCode
impl Sync for StorageErrorCode
impl Unpin for StorageErrorCode
impl UnsafeUnpin for StorageErrorCode
impl UnwindSafe for StorageErrorCode
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