Enum Upgraded
pub enum Upgraded {
AlreadyCurrent,
Converted {
records: Vec<u64>,
},
}Expand description
What upgrade_to_shared_log did.
Variants§
AlreadyCurrent
The directory already uses the shared log (leftover format-2 segments, if any, were removed).
Converted
Converted: records copied per shard.
Trait Implementations§
impl Eq for Upgraded
impl StructuralPartialEq for Upgraded
Auto Trait Implementations§
impl Freeze for Upgraded
impl RefUnwindSafe for Upgraded
impl Send for Upgraded
impl Sync for Upgraded
impl Unpin for Upgraded
impl UnsafeUnpin for Upgraded
impl UnwindSafe for Upgraded
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