pub struct OperatingSystemClock { /* private fields */ }
Expand description
A monotonically non-decreasing clock backed by the operating system.
Requires the std
feature.
Implementations§
Source§impl OperatingSystemClock
impl OperatingSystemClock
pub fn new() -> OperatingSystemClock
Trait Implementations§
Source§impl Clone for OperatingSystemClock
impl Clone for OperatingSystemClock
Source§fn clone(&self) -> OperatingSystemClock
fn clone(&self) -> OperatingSystemClock
Returns a copy 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 OperatingSystemClock
impl Debug for OperatingSystemClock
Source§impl Default for OperatingSystemClock
impl Default for OperatingSystemClock
Source§fn default() -> OperatingSystemClock
fn default() -> OperatingSystemClock
Returns the “default value” for a type. Read more
Source§impl PartialEq for OperatingSystemClock
impl PartialEq for OperatingSystemClock
Source§impl SystemClock for OperatingSystemClock
impl SystemClock for OperatingSystemClock
impl StructuralPartialEq for OperatingSystemClock
Auto Trait Implementations§
impl Freeze for OperatingSystemClock
impl RefUnwindSafe for OperatingSystemClock
impl Send for OperatingSystemClock
impl Sync for OperatingSystemClock
impl Unpin for OperatingSystemClock
impl UnwindSafe for OperatingSystemClock
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