pub struct SessionDeps {Show 13 fields
pub provider: Arc<dyn Provider>,
pub registry: Arc<Registry>,
pub rules: Arc<Rules>,
pub sandbox_enforced: bool,
pub clock: Arc<dyn Clock>,
pub log: SessionLog,
pub system: String,
pub cwd: PathBuf,
pub snapshots: Option<Arc<dyn Snapshotter>>,
pub hooks: Option<Arc<dyn Hooks>>,
pub initial_items: Vec<Item>,
pub initial_todos: Vec<Todo>,
pub config: EngineConfig,
}Fields§
§provider: Arc<dyn Provider>§registry: Arc<Registry>§rules: Arc<Rules>§sandbox_enforced: boolGates bash allow-rules: true only while the kernel write floor is enforced and any configured egress restriction is kernel-backed.
clock: Arc<dyn Clock>§log: SessionLog§system: String§cwd: PathBufWorking directory for subdir instruction hints (M2).
snapshots: Option<Arc<dyn Snapshotter>>Shadow snapshots (M3b); None = run without undo support.
hooks: Option<Arc<dyn Hooks>>Extension hooks (M5); None = no hooks.
initial_items: Vec<Item>§initial_todos: Vec<Todo>The todo checklist a resumed session starts with (the replayed
session’s last durable Todos entry — see hotl_store::Replayed).
Empty for a fresh session. Seeds the actor’s live todos, not
initial_items: it never rode the projection, so it must not
re-enter through it, and seeding here (vs. a post-spawn SetTodos)
means resume never appends a duplicate Todos log entry.
config: EngineConfigAuto Trait Implementations§
impl !RefUnwindSafe for SessionDeps
impl !UnwindSafe for SessionDeps
impl Freeze for SessionDeps
impl Send for SessionDeps
impl Sync for SessionDeps
impl Unpin for SessionDeps
impl UnsafeUnpin for SessionDeps
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