pub struct DispatchTaintSlot { /* private fields */ }Expand description
Late-bound tracker slot shared between the member pre-build seam (which installs the decorator at bootstrap, before the memory stack exists) and the memory-stack attach (which fills it). Cheap to clone; clones share the slot. An unfilled slot makes every installed decorator a pure pass-through, so compositions without the taint firewall pay nothing.
Implementations§
Source§impl DispatchTaintSlot
impl DispatchTaintSlot
Sourcepub fn fill(&self, tracker: SessionTaintTracker)
pub fn fill(&self, tracker: SessionTaintTracker)
Bind the live tracker. Called once when the memory stack attaches; decorators installed earlier (bootstrap members) pick it up on their next LLM call because they read the slot per call.
Trait Implementations§
Source§impl Clone for DispatchTaintSlot
impl Clone for DispatchTaintSlot
Source§fn clone(&self) -> DispatchTaintSlot
fn clone(&self) -> DispatchTaintSlot
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 DispatchTaintSlot
impl Debug for DispatchTaintSlot
Source§impl Default for DispatchTaintSlot
impl Default for DispatchTaintSlot
Source§fn default() -> DispatchTaintSlot
fn default() -> DispatchTaintSlot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DispatchTaintSlot
impl RefUnwindSafe for DispatchTaintSlot
impl Send for DispatchTaintSlot
impl Sync for DispatchTaintSlot
impl Unpin for DispatchTaintSlot
impl UnsafeUnpin for DispatchTaintSlot
impl UnwindSafe for DispatchTaintSlot
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,
impl<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
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> ⓘ
Converts
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> ⓘ
Converts
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