pub enum BlobBuildError {
Cancelled,
InvalidOptions,
PageTooLarge {
observed: u64,
maximum: u64,
},
AllocationFailed,
InvalidIndexState,
TooLarge,
Source(Error),
Encode(CanonicalDecodeError),
Storage(ObjectStoreError),
Work(WorkError),
}Expand description
Stable streaming blob-build errors.
Variants§
Cancelled
Cooperative cancellation occurred before the next source or store operation.
InvalidOptions
Chunk, page, or total-size bounds are invalid.
PageTooLarge
Canonical blob-index page exceeds its explicit byte ceiling.
AllocationFailed
Fallible bounded index scratch allocation was unavailable.
InvalidIndexState
Incremental index finalization reached an impossible state.
TooLarge
Input exceeded the admitted logical size.
Source(Error)
Source stream failed.
Encode(CanonicalDecodeError)
Canonical blob-index encoding failed.
Storage(ObjectStoreError)
Immutable-object backend failed.
Work(WorkError)
Exact work overflowed or exceeded its budget.
Trait Implementations§
Source§impl Debug for BlobBuildError
impl Debug for BlobBuildError
Source§impl Display for BlobBuildError
impl Display for BlobBuildError
Source§impl Error for BlobBuildError
impl Error for BlobBuildError
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<BlobBuildError> for FsError
impl From<BlobBuildError> for FsError
Source§fn from(source: BlobBuildError) -> Self
fn from(source: BlobBuildError) -> Self
Converts to this type from the input type.
Source§impl From<BlobBuildError> for RegularMutationError
impl From<BlobBuildError> for RegularMutationError
Source§fn from(source: BlobBuildError) -> Self
fn from(source: BlobBuildError) -> Self
Converts to this type from the input type.
Source§impl From<CanonicalDecodeError> for BlobBuildError
impl From<CanonicalDecodeError> for BlobBuildError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> 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.
Auto Trait Implementations§
impl !RefUnwindSafe for BlobBuildError
impl !UnwindSafe for BlobBuildError
impl Freeze for BlobBuildError
impl Send for BlobBuildError
impl Sync for BlobBuildError
impl Unpin for BlobBuildError
impl UnsafeUnpin for BlobBuildError
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