pub enum RegularMutationError {
Show 16 variants
NotRegular,
RangeOverflow,
WrongContentKind,
Inline(InlineFileDataError),
BlobBuild(BlobBuildError),
BlobRead(BlobReadError),
Extent(ExtentMutationError),
Range(ExtentReadError),
Clone(ExtentCloneError),
SourceRangeOutOfBounds,
SparseSemanticsDisabled,
KeepSizeBeyondEofUnsupported,
Codec(CanonicalDecodeError),
Storage(ObjectStoreError),
AllocationFailed,
Work(WorkError),
}Expand description
Stable regular-file mutation failures surfaced by generation transactions.
Variants§
NotRegular
The target record was not a regular file.
RangeOverflow
A requested byte interval or accounting value overflowed.
WrongContentKind
A write referred to an object that was not a canonical blob.
Inline(InlineFileDataError)
Inline payload construction failed.
BlobBuild(BlobBuildError)
Inline-to-sparse blob construction failed.
BlobRead(BlobReadError)
A bounded source-blob range read failed.
Extent(ExtentMutationError)
Sparse extent path-copy failed.
Range(ExtentReadError)
Sparse range planning for inline demotion failed.
Clone(ExtentCloneError)
Sparse source planning or destination range-clone failed.
SourceRangeOutOfBounds
The requested source interval extends beyond the source file.
SparseSemanticsDisabled
A dense volume operation would introduce sparse extent semantics.
KeepSizeBeyondEofUnsupported
Keep-size allocation beyond EOF cannot be represented portably.
Codec(CanonicalDecodeError)
Canonical extent encoding or validation failed.
Storage(ObjectStoreError)
Immutable-object storage failed.
AllocationFailed
Bounded scratch allocation failed.
Work(WorkError)
Exact work accounting overflowed or exceeded its admitted budget.
Trait Implementations§
Source§impl Debug for RegularMutationError
impl Debug for RegularMutationError
Source§impl Display for RegularMutationError
impl Display for RegularMutationError
Source§impl Error for RegularMutationError
impl Error for RegularMutationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<BlobBuildError> for RegularMutationError
impl From<BlobBuildError> for RegularMutationError
Source§fn from(source: BlobBuildError) -> Self
fn from(source: BlobBuildError) -> Self
Source§impl From<BlobReadError> for RegularMutationError
impl From<BlobReadError> for RegularMutationError
Source§fn from(source: BlobReadError) -> Self
fn from(source: BlobReadError) -> Self
Source§impl From<CanonicalDecodeError> for RegularMutationError
impl From<CanonicalDecodeError> for RegularMutationError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Source§impl From<ExtentCloneError> for RegularMutationError
impl From<ExtentCloneError> for RegularMutationError
Source§fn from(source: ExtentCloneError) -> Self
fn from(source: ExtentCloneError) -> Self
Source§impl From<ExtentMutationError> for RegularMutationError
impl From<ExtentMutationError> for RegularMutationError
Source§fn from(source: ExtentMutationError) -> Self
fn from(source: ExtentMutationError) -> Self
Source§impl From<ExtentReadError> for RegularMutationError
impl From<ExtentReadError> for RegularMutationError
Source§fn from(source: ExtentReadError) -> Self
fn from(source: ExtentReadError) -> Self
Source§impl From<InlineFileDataError> for RegularMutationError
impl From<InlineFileDataError> for RegularMutationError
Source§fn from(source: InlineFileDataError) -> Self
fn from(source: InlineFileDataError) -> Self
Source§impl From<ObjectStoreError> for RegularMutationError
impl From<ObjectStoreError> for RegularMutationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Source§impl From<RegularMutationError> for FsError
impl From<RegularMutationError> for FsError
Source§fn from(source: RegularMutationError) -> Self
fn from(source: RegularMutationError) -> Self
Source§impl From<RegularMutationError> for GenerationMutationError
impl From<RegularMutationError> for GenerationMutationError
Source§fn from(source: RegularMutationError) -> Self
fn from(source: RegularMutationError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for RegularMutationError
impl !UnwindSafe for RegularMutationError
impl Freeze for RegularMutationError
impl Send for RegularMutationError
impl Sync for RegularMutationError
impl Unpin for RegularMutationError
impl UnsafeUnpin for RegularMutationError
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
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>
T in a tonic::Request