pub enum ExtentCloneError {
WrongRootKind,
EmptyRange,
RangeOverflow,
InvalidLimits,
AllocationFailed,
Source(ExtentReadError),
Destination(ExtentMutationError),
Work(WorkError),
}Expand description
Sparse range-clone failures.
Variants§
WrongRootKind
Source or destination is not an extent-page object.
EmptyRange
Clone length must be positive.
RangeOverflow
Source or destination range arithmetic overflowed.
InvalidLimits
Span/mutation limits cannot admit the operation.
AllocationFailed
The admitted clone-plan scratch allocation was unavailable.
Source(ExtentReadError)
Source sparse-range planning failed.
Destination(ExtentMutationError)
Destination sparse mutation failed.
Work(WorkError)
Exact work exceeded or overflowed its budget.
Trait Implementations§
Source§impl Debug for ExtentCloneError
impl Debug for ExtentCloneError
Source§impl Display for ExtentCloneError
impl Display for ExtentCloneError
Source§impl Error for ExtentCloneError
impl Error for ExtentCloneError
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<ExtentCloneError> for RegularMutationError
impl From<ExtentCloneError> for RegularMutationError
Source§fn from(source: ExtentCloneError) -> Self
fn from(source: ExtentCloneError) -> Self
Converts to this type from the input type.
Source§impl From<ExtentMutationError> for ExtentCloneError
impl From<ExtentMutationError> for ExtentCloneError
Source§fn from(source: ExtentMutationError) -> Self
fn from(source: ExtentMutationError) -> Self
Converts to this type from the input type.
Source§impl From<ExtentReadError> for ExtentCloneError
impl From<ExtentReadError> for ExtentCloneError
Source§fn from(source: ExtentReadError) -> Self
fn from(source: ExtentReadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ExtentCloneError
impl !UnwindSafe for ExtentCloneError
impl Freeze for ExtentCloneError
impl Send for ExtentCloneError
impl Sync for ExtentCloneError
impl Unpin for ExtentCloneError
impl UnsafeUnpin for ExtentCloneError
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