pub struct CompiledContext { /* private fields */ }Expand description
Reproducible compiled context snapshot.
This is a deterministic runtime intermediate for MVP request compilation. It is not a stable serialized prompt contract.
Implementations§
Source§impl CompiledContext
impl CompiledContext
Sourcepub fn sections(&self) -> &[CompiledContextSection]
pub fn sections(&self) -> &[CompiledContextSection]
Ordered public compiled context sections.
This summary-only view excludes crate-internal projections such as activated memory.
Sourcepub fn to_snapshot(&self) -> String
pub fn to_snapshot(&self) -> String
Stable text snapshot for tests and future adapter work.
The string is deterministic for a compiled snapshot, but it is a helper representation rather than a stable provider prompt format.
Trait Implementations§
Source§impl Clone for CompiledContext
impl Clone for CompiledContext
Source§impl Debug for CompiledContext
impl Debug for CompiledContext
impl Eq for CompiledContext
Source§impl PartialEq for CompiledContext
impl PartialEq for CompiledContext
impl StructuralPartialEq for CompiledContext
Auto Trait Implementations§
impl Forget for CompiledContext
impl Freeze for CompiledContext
impl Move for CompiledContext
impl RefUnwindSafe for CompiledContext
impl Send for CompiledContext
impl Sync for CompiledContext
impl Unpin for CompiledContext
impl UnsafeUnpin for CompiledContext
impl UnwindSafe for CompiledContext
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
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
Compare self to
key and return true if they are equal.