Struct embassy_time::Delay
source · pub struct Delay;
Expand description
Type implementing async delays and blocking embedded-hal
delays.
The delays are implemented in a “best-effort” way, meaning that the cpu will block for at least the amount provided, but accuracy can be affected by many factors, including interrupt usage. Make sure to use a suitable tick rate for your use case. The tick rate is defined by the currently active driver.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Delay
impl Send for Delay
impl Sync for Delay
impl Unpin for Delay
impl UnwindSafe for Delay
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