pub struct Processes;Trait Implementations§
Source§impl Clock for Processes
impl Clock for Processes
Source§fn now(&self) -> Timestamp
fn now(&self) -> Timestamp
Wall-clock time, read once when the process first asks and advanced
from then on by CLOCK_BOOTTIME (§12h): every interval this process
measures (cooldowns, settle and activation windows, probe freshness)
is immune to the wall clock being moved, and the times it records
stay wall-clock times, comparable across boots.
Source§fn boot_now(&self) -> Timestamp
fn boot_now(&self) -> Timestamp
Milliseconds on
CLOCK_BOOTTIME: for everything that does not survive
a reboot (approval tokens, leases, cooldowns, windows; §12h). Moving
the wall clock never moves it.fn sleep(&self, d: Millis)
Source§impl ProcessBackend for Processes
impl ProcessBackend for Processes
impl Copy for Processes
Auto Trait Implementations§
impl Freeze for Processes
impl RefUnwindSafe for Processes
impl Send for Processes
impl Sync for Processes
impl Unpin for Processes
impl UnsafeUnpin for Processes
impl UnwindSafe for Processes
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