pub enum ArtifactRef {
Manifest,
Wal,
Segment {
id: SegmentId,
},
Region {
segment_id: SegmentId,
kind: u16,
},
Checkpoint {
name: String,
},
Active,
}Expand description
Structured identity of one health-validation scope.
Variants§
Manifest
Committed manifest.
Wal
Append-only write-ahead log.
Segment
Whole immutable segment artifact.
Region
One immutable segment region.
Fields
Checkpoint
Resumable maintenance checkpoint.
Active
Current active in-memory state.
Trait Implementations§
Source§impl Clone for ArtifactRef
impl Clone for ArtifactRef
Source§impl Debug for ArtifactRef
impl Debug for ArtifactRef
impl Eq for ArtifactRef
Source§impl Ord for ArtifactRef
impl Ord for ArtifactRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ArtifactRef
impl PartialEq for ArtifactRef
Source§impl PartialOrd for ArtifactRef
impl PartialOrd for ArtifactRef
impl StructuralPartialEq for ArtifactRef
Auto Trait Implementations§
impl Freeze for ArtifactRef
impl RefUnwindSafe for ArtifactRef
impl Send for ArtifactRef
impl Sync for ArtifactRef
impl Unpin for ArtifactRef
impl UnsafeUnpin for ArtifactRef
impl UnwindSafe for ArtifactRef
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