pub struct ProcessAtoms;Expand description
The host every default answers for: the process this is running in.
A named type rather than an anonymous one because a backend has to be able to say what it was
given when nobody gave it anything, and “ProcessAtoms” is an answer where a Box<dyn Atoms>
built out of nothing is not.
Trait Implementations§
Source§impl Atoms for ProcessAtoms
impl Atoms for ProcessAtoms
Source§fn new_uuid(&self) -> Arc<str>
fn new_uuid(&self) -> Arc<str>
Mint an id —
nondet. Called only where the checker has proved we are not inside a fold.Source§fn now_millis(&self) -> i64
fn now_millis(&self) -> i64
Read the wall clock —
nondet, and forbidden inside a fold for the same reason uuid()
is: time is data on the envelope (§3.7).Source§impl Clone for ProcessAtoms
impl Clone for ProcessAtoms
Source§fn clone(&self) -> ProcessAtoms
fn clone(&self) -> ProcessAtoms
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessAtoms
impl Debug for ProcessAtoms
Source§impl Default for ProcessAtoms
impl Default for ProcessAtoms
Source§fn default() -> ProcessAtoms
fn default() -> ProcessAtoms
Returns the “default value” for a type. Read more
impl Copy for ProcessAtoms
Auto Trait Implementations§
impl Freeze for ProcessAtoms
impl RefUnwindSafe for ProcessAtoms
impl Send for ProcessAtoms
impl Sync for ProcessAtoms
impl Unpin for ProcessAtoms
impl UnwindSafe for ProcessAtoms
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