pub struct CompactionResult {
pub snapshot_created: Option<Hash>,
pub nodes_pruned: usize,
pub pruning_result: Option<PruningResult>,
}Expand description
Result of a compaction operation.
Fields§
§snapshot_created: Option<Hash>ID of snapshot created, if any.
nodes_pruned: usizeNumber of nodes pruned.
pruning_result: Option<PruningResult>Detailed pruning result.
Trait Implementations§
Source§impl Clone for CompactionResult
impl Clone for CompactionResult
Source§fn clone(&self) -> CompactionResult
fn clone(&self) -> CompactionResult
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 CompactionResult
impl Debug for CompactionResult
Source§impl Default for CompactionResult
impl Default for CompactionResult
Source§fn default() -> CompactionResult
fn default() -> CompactionResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompactionResult
impl RefUnwindSafe for CompactionResult
impl Send for CompactionResult
impl Sync for CompactionResult
impl Unpin for CompactionResult
impl UnwindSafe for CompactionResult
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