pub enum MemAddr {
Note {
id: String,
},
Turn {
conversation: String,
seq: i64,
},
Compaction {
id: String,
},
Spill {
id: String,
},
}Expand description
A parsed, tagged memory address. Each variant resolves against its own
surface (Self::Note/Self::Turn read existing stores; Self::Spill/
Self::Compaction read session-scoped redacted stores).
Variants§
Note
note:<id> — the verbatim body of one crate::notes::NoteStore
entry, addressed by the 1-based id the memory index renders.
Turn
turn:<conv>#<seq> — one past crate::store::ConversationStore
turn’s verbatim user/assistant text, §6-ordered by seq (never
re-sorted by clock).
Compaction
compaction:<id> — the verbatim (redacted) middle span the compressor
evicted, retrievable losslessly from the session compaction store
(#661 group B). Session-scoped; expires at /new.
Spill
spill:<id> — the full (redacted) payload of a tool result that was
offloaded by the tool_offload feature (Step 26.3, #584). Session-scoped.
Implementations§
Trait Implementations§
impl Eq for MemAddr
impl StructuralPartialEq for MemAddr
Auto Trait Implementations§
impl Freeze for MemAddr
impl RefUnwindSafe for MemAddr
impl Send for MemAddr
impl Sync for MemAddr
impl Unpin for MemAddr
impl UnsafeUnpin for MemAddr
impl UnwindSafe for MemAddr
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.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
impl<T> ErasedDestructor for Twhere
T: 'static,
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