pub struct RivetDelay;Trait Implementations§
Source§impl DelayNs for RivetDelay
impl DelayNs for RivetDelay
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.Auto Trait Implementations§
impl Freeze for RivetDelay
impl RefUnwindSafe for RivetDelay
impl Send for RivetDelay
impl Sync for RivetDelay
impl Unpin for RivetDelay
impl UnsafeUnpin for RivetDelay
impl UnwindSafe for RivetDelay
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