pub struct ResolvedPulls { /* private fields */ }Expand description
Cycle-time materialization of a PullPlan.
Read-only, indexed by PullHandle. Created once per cycle
during the resolve phase (SRD 31 §“Cycle-Time Pipeline”); the
values inside reflect the PolydatState snapshot at the moment of
resolution and are not invalidated by subsequent state changes.
Implementations§
Source§impl ResolvedPulls
impl ResolvedPulls
Sourcepub fn empty() -> Self
pub fn empty() -> Self
Empty pulls — no consumer registered anything. Used as the
default in the wrapper construction path before α.4 deletes
the legacy extras flow.
Sourcepub fn get(&self, h: PullHandle) -> &Value
pub fn get(&self, h: PullHandle) -> &Value
Resolve a handle to a borrowed value. Panics on a handle
from a different plan (the index is out of range). This is
a programming error — a handle’s plan provenance is
statically associated with the wrapper that owns it, and
ExecCtx carries the matching ResolvedPulls.
Auto Trait Implementations§
impl !RefUnwindSafe for ResolvedPulls
impl !UnwindSafe for ResolvedPulls
impl Freeze for ResolvedPulls
impl Send for ResolvedPulls
impl Sync for ResolvedPulls
impl Unpin for ResolvedPulls
impl UnsafeUnpin for ResolvedPulls
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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