pub enum RangedStoreError {
Alignment(RangeVerifyError),
Incomplete,
Backend(Box<dyn Error + Send + Sync>),
}Expand description
What a RangedStore operation can fail with.
A variant that wraps a cause names only itself in Display and returns the
cause from source(), so a chain renderer ({:#} or {:?} on an
anyhow::Error, or a source() walk) prints each cause once. Render it
through one, not plain Display.
Variants§
Alignment(RangeVerifyError)
The requested range is not chunk-group aligned, or does not verify against the outboard.
Incomplete
Finalization was asked for while ranges are still missing.
Backend(Box<dyn Error + Send + Sync>)
The underlying store (file, blob store) failed.
Trait Implementations§
Source§impl Debug for RangedStoreError
impl Debug for RangedStoreError
Source§impl Display for RangedStoreError
impl Display for RangedStoreError
Source§impl Error for RangedStoreError
impl Error for RangedStoreError
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<RangeVerifyError> for RangedStoreError
impl From<RangeVerifyError> for RangedStoreError
Source§fn from(source: RangeVerifyError) -> Self
fn from(source: RangeVerifyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RangedStoreError
impl !UnwindSafe for RangedStoreError
impl Freeze for RangedStoreError
impl Send for RangedStoreError
impl Sync for RangedStoreError
impl Unpin for RangedStoreError
impl UnsafeUnpin for RangedStoreError
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