pub struct ManifestState {
pub version: u32,
pub segments: Vec<SegmentInfo>,
pub next_node_id: u64,
pub next_edge_id: u64,
pub prune_policies: BTreeMap<String, PrunePolicy>,
}Expand description
Manifest state: the atomic checkpoint of the database.
Fields§
§version: u32§segments: Vec<SegmentInfo>§next_node_id: u64§next_edge_id: u64§prune_policies: BTreeMap<String, PrunePolicy>Named prune policies applied automatically during compaction. Absent from older manifests; defaults to empty.
Trait Implementations§
Source§impl Clone for ManifestState
impl Clone for ManifestState
Source§fn clone(&self) -> ManifestState
fn clone(&self) -> ManifestState
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 ManifestState
impl Debug for ManifestState
Source§impl<'de> Deserialize<'de> for ManifestState
impl<'de> Deserialize<'de> for ManifestState
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 ManifestState
impl RefUnwindSafe for ManifestState
impl Send for ManifestState
impl Sync for ManifestState
impl Unpin for ManifestState
impl UnsafeUnpin for ManifestState
impl UnwindSafe for ManifestState
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