Struct embedded_hal_bus::spi::NoDelay
source · pub struct NoDelay;
Expand description
Dummy DelayNs
implementation that panics on use.
Trait Implementations§
source§impl DelayNs for NoDelay
impl DelayNs for NoDelay
source§fn delay_ns(&mut self, _ns: u32)
fn delay_ns(&mut self, _ns: u32)
Pauses execution for at minimum
ns
nanoseconds. Pause can be longer
if the implementation requires it due to precision/timing issues.source§impl DelayNs for NoDelay
impl DelayNs for NoDelay
source§async fn delay_ns(&mut self, _ns: u32)
async fn delay_ns(&mut self, _ns: u32)
Pauses execution for at minimum
ns
nanoseconds. Pause can be longer
if the implementation requires it due to precision/timing issues.impl Copy for NoDelay
impl Eq for NoDelay
impl StructuralPartialEq for NoDelay
Auto Trait Implementations§
impl Freeze for NoDelay
impl RefUnwindSafe for NoDelay
impl Send for NoDelay
impl Sync for NoDelay
impl Unpin for NoDelay
impl UnwindSafe for NoDelay
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)