pub enum RepackError {
Cancelled,
Operation(String),
WorkerPanicked,
}Expand description
Error returned by scheduling or executing a repack.
Variants§
Cancelled
Cancellation was observed before the storage cutover began.
Operation(String)
The storage-specific operation failed.
WorkerPanicked
The worker panicked before reporting a result.
Implementations§
Trait Implementations§
Source§impl Clone for RepackError
impl Clone for RepackError
Source§impl Debug for RepackError
impl Debug for RepackError
Source§impl Display for RepackError
impl Display for RepackError
impl Eq for RepackError
Source§impl Error for RepackError
impl Error for RepackError
1.30.0 · 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 PartialEq for RepackError
impl PartialEq for RepackError
impl StructuralPartialEq for RepackError
Auto Trait Implementations§
impl Freeze for RepackError
impl RefUnwindSafe for RepackError
impl Send for RepackError
impl Sync for RepackError
impl Unpin for RepackError
impl UnsafeUnpin for RepackError
impl UnwindSafe for RepackError
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