pub struct CaptureRun<'a> {
pub screen: &'a mut Screen,
pub checkout: Checkout,
pub pk_id: [u8; 32],
pub sealed: bool,
pub counts: CaptureCounts,
pub pending: Vec<Pending>,
pub now_ms: i64,
}Expand description
One capture run for one place: the gate’s inputs and what it counted.
Fields§
§screen: &'a mut Screen§checkout: Checkout§pk_id: [u8; 32]§sealed: bool§counts: CaptureCounts§pending: Vec<Pending>§now_ms: i64Implementations§
Source§impl<'a> CaptureRun<'a>
impl<'a> CaptureRun<'a>
pub fn new( screen: &'a mut Screen, root: &Path, pk_id: [u8; 32], sealed: bool, pending: Vec<Pending>, now_ms: i64, ) -> Self
Sourcepub fn is_pending(&self, f: &KnowledgeFact) -> bool
pub fn is_pending(&self, f: &KnowledgeFact) -> bool
Whether f waits for its commit (it is re-checked on every run).
Sourcepub fn unpublished(&mut self, f: &KnowledgeFact)
pub fn unpublished(&mut self, f: &KnowledgeFact)
Record an unpublished_ref verdict: pending for PENDING_DAYS,
then rejected finally (the caller counts it once per run either way).
Sourcepub fn settled(&mut self, f: &KnowledgeFact)
pub fn settled(&mut self, f: &KnowledgeFact)
f passed (or failed for another reason): it no longer waits.
Auto Trait Implementations§
impl<'a> !UnwindSafe for CaptureRun<'a>
impl<'a> Freeze for CaptureRun<'a>
impl<'a> RefUnwindSafe for CaptureRun<'a>
impl<'a> Send for CaptureRun<'a>
impl<'a> Sync for CaptureRun<'a>
impl<'a> Unpin for CaptureRun<'a>
impl<'a> UnsafeUnpin for CaptureRun<'a>
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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