Struct linux_embedded_hal::Delay
source · pub struct Delay;
Expand description
Empty struct that provides delay functionality on top of thread::sleep
Trait Implementations§
source§impl DelayNs for Delay
impl DelayNs for Delay
source§fn delay_ns(&mut self, n: u32)
fn delay_ns(&mut self, n: u32)
Pauses execution for at minimum
ns
nanoseconds. Pause can be longer
if the implementation requires it due to precision/timing issues.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