pub struct AgentEnv {
pub bin: PathBuf,
pub repo_root: PathBuf,
pub cache_dir: PathBuf,
pub session_id: String,
pub shim_dir: PathBuf,
}Expand description
The ambient session, reconstructed from DEJAVU_* env vars. None when a
shim is somehow invoked outside a session.
Fields§
§bin: PathBuf§repo_root: PathBuf§cache_dir: PathBuf§session_id: String§shim_dir: PathBufImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentEnv
impl RefUnwindSafe for AgentEnv
impl Send for AgentEnv
impl Sync for AgentEnv
impl Unpin for AgentEnv
impl UnsafeUnpin for AgentEnv
impl UnwindSafe for AgentEnv
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