pub struct AdvanceState {
pub binding: String,
pub frozen_slice: Slice,
pub dispositions: BTreeMap<String, String>,
pub exclusions: BTreeMap<String, String>,
}Expand description
One binding’s durable advance state (D7) — the frozen presented slice and
the dispositions accumulated against it. Persisted at
.memstead/state/advance/<mem>/<name>.json, read fresh per call.
The frozen slice is the union of every slice the engine has presented for this advance session (the initial freeze plus any new-HEAD deltas appended as the source moved). Its member ids are exactly the artifact ids the advance gate accepts.
Fields§
§binding: StringThe canonical binding id <mem>/<stem> (D3) this state belongs to.
frozen_slice: SliceThe frozen presented slice (union of freeze + appended new-HEAD deltas).
dispositions: BTreeMap<String, String>artifact id → agent-supplied disposition, accumulated across calls.
exclusions: BTreeMap<String, String>The durable authored-exclusion ledger: artifact id → the agent’s
rationale for deliberately excluding it (mined, warrants no destination
entity). Unlike Self::dispositions and Self::frozen_slice — the
transient advance progress dropped on completion — this survives
completion so the fidelity report consults it under exhaustive coverage:
an excluded-on-purpose artifact stops re-surfacing as uncovered and
keeps its reasoning. Generic across every binding and medium.
Implementations§
Trait Implementations§
Source§impl Clone for AdvanceState
impl Clone for AdvanceState
Source§fn clone(&self) -> AdvanceState
fn clone(&self) -> AdvanceState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AdvanceState
impl Debug for AdvanceState
Source§impl Default for AdvanceState
impl Default for AdvanceState
Source§fn default() -> AdvanceState
fn default() -> AdvanceState
Source§impl<'de> Deserialize<'de> for AdvanceState
impl<'de> Deserialize<'de> for AdvanceState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for AdvanceState
Source§impl PartialEq for AdvanceState
impl PartialEq for AdvanceState
Source§impl Serialize for AdvanceState
impl Serialize for AdvanceState
impl StructuralPartialEq for AdvanceState
Auto Trait Implementations§
impl Freeze for AdvanceState
impl RefUnwindSafe for AdvanceState
impl Send for AdvanceState
impl Sync for AdvanceState
impl Unpin for AdvanceState
impl UnsafeUnpin for AdvanceState
impl UnwindSafe for AdvanceState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> Fruit for T
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> ⓘ
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> ⓘ
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