pub struct ClosureCandidate<'nodes, 'data> { /* private fields */ }Expand description
Complete structural coverage of the SUPPLIED graph and matching original bytes. This is NOT AuthenticatedClosure, policy admission or proof that a producer declared every dependency. An authenticated manifest must establish that later. All originals remain immutably borrowed; no source clone or secret is retained.
Implementations§
Source§impl<'nodes, 'data> ClosureCandidate<'nodes, 'data>
impl<'nodes, 'data> ClosureCandidate<'nodes, 'data>
pub const fn root_digest(&self) -> StrongDigest
pub const fn nodes(&self) -> &'nodes [ClosureNode<'data>]
pub const fn edges(&self) -> &'nodes [ClosureEdge]
pub const fn original_byte_count(&self) -> usize
Sourcepub fn dependency_order(&self) -> impl Iterator<Item = &ClosureNode<'data>>
pub fn dependency_order(&self) -> impl Iterator<Item = &ClosureNode<'data>>
Deterministic dependency-first order; equal-ready nodes sort by full digest.
Trait Implementations§
Auto Trait Implementations§
impl<'nodes, 'data> Freeze for ClosureCandidate<'nodes, 'data>
impl<'nodes, 'data> RefUnwindSafe for ClosureCandidate<'nodes, 'data>
impl<'nodes, 'data> Send for ClosureCandidate<'nodes, 'data>
impl<'nodes, 'data> Sync for ClosureCandidate<'nodes, 'data>
impl<'nodes, 'data> Unpin for ClosureCandidate<'nodes, 'data>
impl<'nodes, 'data> UnsafeUnpin for ClosureCandidate<'nodes, 'data>
impl<'nodes, 'data> UnwindSafe for ClosureCandidate<'nodes, 'data>
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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