pub struct Q42VolumeSet { /* private fields */ }Expand description
Locally backed multi-segment query snapshot. It deliberately has no remote transport yet: IPFS/HTTP range sources will implement the same contract.
Implementations§
Source§impl Q42VolumeSet
impl Q42VolumeSet
pub fn open_root(path: &Path) -> Result<Self>
Sourcepub fn root(&self) -> &Q42Volume
pub fn root(&self) -> &Q42Volume
The front-matter root that owns the snapshot-wide lexicon and manifest.
pub fn manifest(&self) -> &Q42VolumeManifest
pub fn segments(&self) -> &[Q42Volume]
pub fn lexicon_segments(&self) -> &[Q42Volume]
Sourcepub fn lookup_hash(&self, hash: u64) -> Option<&str>
pub fn lookup_hash(&self, hash: u64) -> Option<&str>
Resolve a term through the root dictionary or its front-manifested physical lexicon shards. Construction owns the maps/mappings; lookup borrows directly from the selected Q42LEX page.
pub fn verify_segment_hashes(&self, root_path: &Path) -> Result<()>
Sourcepub fn verify_all(&self, root_path: &Path) -> Result<Q42VerificationReceipt>
pub fn verify_all(&self, root_path: &Path) -> Result<Q42VerificationReceipt>
Exhaustively verify a local logical snapshot: manifest-attested child digests plus every decoded data Quin. This remains a cold operation; each physical verifier uses a single fixed SuperBlock scratch buffer.
Auto Trait Implementations§
impl Freeze for Q42VolumeSet
impl RefUnwindSafe for Q42VolumeSet
impl Send for Q42VolumeSet
impl Sync for Q42VolumeSet
impl Unpin for Q42VolumeSet
impl UnsafeUnpin for Q42VolumeSet
impl UnwindSafe for Q42VolumeSet
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more