pub struct SystemEnv;Expand description
The real process environment: system clock, OS randomness, HOME (else /), the process cwd (else /), and
ULTRON_CODING_AGENT_DIR or ~/.ultron/agent.
Trait Implementations§
Source§impl Env for SystemEnv
impl Env for SystemEnv
Source§fn random_uuid(&mut self) -> String
fn random_uuid(&mut self) -> String
A random UUID string (
crypto.randomUUID()); entry ids use its first 8 characters.Source§fn session_id(&mut self) -> String
fn session_id(&mut self) -> String
A new session id (
uuidv7(), whose generator state is process-wide upstream).Auto Trait Implementations§
impl Forget for SystemEnv
impl Freeze for SystemEnv
impl Move for SystemEnv
impl RefUnwindSafe for SystemEnv
impl Send for SystemEnv
impl Sync for SystemEnv
impl Unpin for SystemEnv
impl UnsafeUnpin for SystemEnv
impl UnwindSafe for SystemEnv
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