pub struct RealIoScope;Expand description
Off the sim path a real I/O operation needs no pacing (time is already
real), so the scope is a ZST no-op. Under flash it is the engine’s
RealIoScope: while held, the virtual clock may not outrun real
time, so virtual watchdogs/timeouts cannot fire spuriously ahead of bytes
still on the wire.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RealIoScope
impl RefUnwindSafe for RealIoScope
impl Send for RealIoScope
impl Sync for RealIoScope
impl Unpin for RealIoScope
impl UnsafeUnpin for RealIoScope
impl UnwindSafe for RealIoScope
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