pub struct RecordedPlanKey {
pub definition_revision: String,
pub compiler_semantics: String,
pub engine_semantics: String,
pub lowering_capabilities: Vec<String>,
}Expand description
A plan binding as a checkpoint recorded it: untrusted wire values.
This is what an older build wrote and what a store reads back. Typing it is the boundary where “the recorded value is a version of the line it claims” is established, so a definition digest recorded in a semantics slot is refused here rather than silently reused as a version.
Every field is part of the identity, so none of them is optional: a record that omits one is not completed with an assumed default, it is refused.
Fields§
§definition_revision: String§compiler_semantics: String§engine_semantics: String§lowering_capabilities: Vec<String>Implementations§
Source§impl RecordedPlanKey
impl RecordedPlanKey
Sourcepub fn record(key: &PlanKey, identity: &PlanIdentity) -> RecordedPlanKey
pub fn record(key: &PlanKey, identity: &PlanIdentity) -> RecordedPlanKey
The recorded form of key under identity’s lines — this is what a
checkpoint persists, so the lines are the host’s own vocabulary.
Sourcepub fn typed(&self, identity: &PlanIdentity) -> Result<PlanKey, PlanInputError>
pub fn typed(&self, identity: &PlanIdentity) -> Result<PlanKey, PlanInputError>
Type the record under identity’s lines. A record that declares a
different line is refused rather than reinterpreted.
Trait Implementations§
Source§impl Clone for RecordedPlanKey
impl Clone for RecordedPlanKey
Source§fn clone(&self) -> RecordedPlanKey
fn clone(&self) -> RecordedPlanKey
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 RecordedPlanKey
impl Debug for RecordedPlanKey
Source§impl<'de> Deserialize<'de> for RecordedPlanKey
impl<'de> Deserialize<'de> for RecordedPlanKey
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecordedPlanKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecordedPlanKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for RecordedPlanKey
Source§impl From<&PlanKey> for RecordedPlanKey
impl From<&PlanKey> for RecordedPlanKey
Source§fn from(key: &PlanKey) -> RecordedPlanKey
fn from(key: &PlanKey) -> RecordedPlanKey
Records under Acativa’s own identity lines. A host binding other lines
calls RecordedPlanKey::record with its PlanIdentity.
Source§impl PartialEq for RecordedPlanKey
impl PartialEq for RecordedPlanKey
Source§impl Serialize for RecordedPlanKey
impl Serialize for RecordedPlanKey
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for RecordedPlanKey
Auto Trait Implementations§
impl Forget for RecordedPlanKey
impl Freeze for RecordedPlanKey
impl Move for RecordedPlanKey
impl RefUnwindSafe for RecordedPlanKey
impl Send for RecordedPlanKey
impl Sync for RecordedPlanKey
impl Unpin for RecordedPlanKey
impl UnsafeUnpin for RecordedPlanKey
impl UnwindSafe for RecordedPlanKey
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<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.