pub struct CanonicalMemoryWrite {
pub name: String,
pub kind: MemoryKind,
pub content: String,
pub description: String,
pub evidence_refs: Vec<String>,
pub accepted_at_ms: WireU64,
pub causation: SyscallCausation,
}Expand description
A memory write the kernel authored from a model proposal (§7.6).
The proposal contributed name/kind/content/evidence; provenance — accepted time and causation —
is kernel-derived, which is why this is a Canonical… type and the syscall payload is only a
…Proposal. accepted_at_ms is the envelope’s accepted time restamped by the kernel, not a
host clock: DEC-2 bans host clocks on outcome payloads, not kernel-authored effect payloads.
Fields§
§name: String§kind: MemoryKind§content: String§description: String§evidence_refs: Vec<String>§accepted_at_ms: WireU64§causation: SyscallCausationTrait Implementations§
Source§impl Clone for CanonicalMemoryWrite
impl Clone for CanonicalMemoryWrite
Source§fn clone(&self) -> CanonicalMemoryWrite
fn clone(&self) -> CanonicalMemoryWrite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CanonicalMemoryWrite
impl Debug for CanonicalMemoryWrite
Source§impl<'de> Deserialize<'de> for CanonicalMemoryWrite
impl<'de> Deserialize<'de> for CanonicalMemoryWrite
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CanonicalMemoryWrite
impl PartialEq for CanonicalMemoryWrite
Source§impl Serialize for CanonicalMemoryWrite
impl Serialize for CanonicalMemoryWrite
impl StructuralPartialEq for CanonicalMemoryWrite
Auto Trait Implementations§
impl Freeze for CanonicalMemoryWrite
impl RefUnwindSafe for CanonicalMemoryWrite
impl Send for CanonicalMemoryWrite
impl Sync for CanonicalMemoryWrite
impl Unpin for CanonicalMemoryWrite
impl UnsafeUnpin for CanonicalMemoryWrite
impl UnwindSafe for CanonicalMemoryWrite
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