pub enum UncorruptAction {
Clear {
data_file_id: String,
},
Recover,
BadBatchUnwind {
data_file_ids_to_delete: Vec<String>,
data_file_inverse_log_map: HashMap<String, Vec<DataFileLog>>,
},
DataFileCompactMove {
path: PathBuf,
temp_path: PathBuf,
},
}Expand description
Action to resolve to corruption of a BlockDB
Variants§
Trait Implementations§
Source§impl Clone for UncorruptAction
impl Clone for UncorruptAction
Source§fn clone(&self) -> UncorruptAction
fn clone(&self) -> UncorruptAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UncorruptAction
impl Debug for UncorruptAction
Source§impl<'de> Deserialize<'de> for UncorruptAction
impl<'de> Deserialize<'de> for UncorruptAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UncorruptAction
impl RefUnwindSafe for UncorruptAction
impl Send for UncorruptAction
impl Sync for UncorruptAction
impl Unpin for UncorruptAction
impl UnwindSafe for UncorruptAction
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