pub struct SessionCompactors { /* private fields */ }Expand description
Process-wide per-session Compactor registry.
Keyed by (tenant_id, session_id) as available in Agent::execute
(context.user_id / context.session_id). Agents are constructed
per request, so the map must outlive any single agent instance; the
Arc clone handed to record_turn tasks keeps entries alive while a
spawned hook is still writing.
Implementations§
Trait Implementations§
Source§impl Default for SessionCompactors
impl Default for SessionCompactors
Source§fn default() -> SessionCompactors
fn default() -> SessionCompactors
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for SessionCompactors
impl !RefUnwindSafe for SessionCompactors
impl !UnwindSafe for SessionCompactors
impl Send for SessionCompactors
impl Sync for SessionCompactors
impl Unpin for SessionCompactors
impl UnsafeUnpin for SessionCompactors
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