pub struct SessionDeps {
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 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>§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