pub struct GraphBuildArtifact { /* private fields */ }Expand description
Completed owned graph bytes ready for the existing node-block writer.
Implementations§
Source§impl GraphBuildArtifact
impl GraphBuildArtifact
Sourcepub fn encoded_region(&self) -> &[u8] ⓘ
pub fn encoded_region(&self) -> &[u8] ⓘ
Returns the complete fixed-stride graph region for deterministic evidence.
Sourcepub fn entry_points(&self) -> &[u32]
pub fn entry_points(&self) -> &[u32]
Returns the medoid followed by up to three deterministic refined seeds.
Sourcepub const fn work_rows_completed(&self) -> u64
pub const fn work_rows_completed(&self) -> u64
Returns rows advanced by this checkpointed invocation, excluding prior work.
Sourcepub fn write_segment_with_graph(
&self,
vfs: &dyn Vfs,
directory: &Path,
input: &SegmentReader,
output_id: SegmentId,
policy: DurabilityPolicy,
) -> Result<SegmentMeta, GraphBuildError>
pub fn write_segment_with_graph( &self, vfs: &dyn Vfs, directory: &Path, input: &SegmentReader, output_id: SegmentId, policy: DurabilityPolicy, ) -> Result<SegmentMeta, GraphBuildError>
Atomically publishes the sealed input plus this graph through M2’s writer.
Auto Trait Implementations§
impl Freeze for GraphBuildArtifact
impl RefUnwindSafe for GraphBuildArtifact
impl Send for GraphBuildArtifact
impl Sync for GraphBuildArtifact
impl Unpin for GraphBuildArtifact
impl UnsafeUnpin for GraphBuildArtifact
impl UnwindSafe for GraphBuildArtifact
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