pub struct EmbassyClock;Expand description
Monotonic Clock backed by the global embassy-time driver.
Zero-sized: shares the global driver. Clone freely.
Trait Implementations§
Source§impl Clock for EmbassyClock
impl Clock for EmbassyClock
Source§impl Clone for EmbassyClock
impl Clone for EmbassyClock
Source§fn clone(&self) -> EmbassyClock
fn clone(&self) -> EmbassyClock
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmbassyClock
impl Debug for EmbassyClock
Source§impl Default for EmbassyClock
impl Default for EmbassyClock
Source§fn default() -> EmbassyClock
fn default() -> EmbassyClock
Returns the “default value” for a type. Read more
impl Copy for EmbassyClock
Auto Trait Implementations§
impl Freeze for EmbassyClock
impl RefUnwindSafe for EmbassyClock
impl Send for EmbassyClock
impl Sync for EmbassyClock
impl Unpin for EmbassyClock
impl UnwindSafe for EmbassyClock
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)