pub enum ObjectStoreError {
Cancelled,
Missing,
DigestMismatch,
TooLarge {
observed: u64,
maximum: u64,
},
InvalidRange,
Corrupt,
QuarantineFailed(Error),
Io(Error),
Rejected(String),
Work(WorkError),
}Expand description
Typed immutable-object failures.
Variants§
Cancelled
Operation was cancelled before immutable-object work began.
Missing
Exact typed object is absent.
DigestMismatch
Supplied bytes do not match the typed object digest.
TooLarge
Object exceeds the backend’s declared bound.
Fields
InvalidRange
Requested range is invalid or outside the object.
Corrupt
Stored bytes fail verification.
QuarantineFailed(Error)
Corrupt bytes could not be isolated from the live object namespace.
Io(Error)
Storage I/O failed.
Rejected(String)
Backend rejected an operation for a stable implementation-specific reason.
Work(WorkError)
Backend work could not be admitted without exceeding the caller budget.
Trait Implementations§
Source§impl Debug for ObjectStoreError
impl Debug for ObjectStoreError
Source§impl Display for ObjectStoreError
impl Display for ObjectStoreError
Source§impl Error for ObjectStoreError
impl Error for ObjectStoreError
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<Error> for ObjectStoreError
impl From<Error> for ObjectStoreError
Source§impl From<ObjectStoreError> for FsError
impl From<ObjectStoreError> for FsError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for AttributeLookupError
impl From<ObjectStoreError> for AttributeLookupError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for AttributeListError
impl From<ObjectStoreError> for AttributeListError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for AttributeMutationError
impl From<ObjectStoreError> for AttributeMutationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for BlobBuildError
impl From<ObjectStoreError> for BlobBuildError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for BlobReadError
impl From<ObjectStoreError> for BlobReadError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for CheckpointError
impl From<ObjectStoreError> for CheckpointError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for ClosureError
impl From<ObjectStoreError> for ClosureError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for ExtentMutationError
impl From<ObjectStoreError> for ExtentMutationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for FileRecordReadError
impl From<ObjectStoreError> for FileRecordReadError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for FileTableMutationError
impl From<ObjectStoreError> for FileTableMutationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for DirectoryReadError
impl From<ObjectStoreError> for DirectoryReadError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for MergeGenerationError
impl From<ObjectStoreError> for MergeGenerationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for AuthenticatedProbeError
impl From<ObjectStoreError> for AuthenticatedProbeError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for PublicationError
impl From<ObjectStoreError> for PublicationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for ExtentReadError
impl From<ObjectStoreError> for ExtentReadError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for TreeReadError
impl From<ObjectStoreError> for TreeReadError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for RegularMutationError
impl From<ObjectStoreError> for RegularMutationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for GenerationTransferError
impl From<ObjectStoreError> for GenerationTransferError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for TreeMutationError
impl From<ObjectStoreError> for TreeMutationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ObjectStoreError
impl !UnwindSafe for ObjectStoreError
impl Freeze for ObjectStoreError
impl Send for ObjectStoreError
impl Sync for ObjectStoreError
impl Unpin for ObjectStoreError
impl UnsafeUnpin for ObjectStoreError
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request