pub struct FakeOs;Trait Implementations§
Source§impl OsInterface for FakeOs
impl OsInterface for FakeOs
type RawMutex = FakeRawMutex
type NotifyBuilder = FakeNotifier
type Timeout = TickTimeoutNs<FakeInstant>
fn yield_thread()
fn delay() -> impl DelayNs
fn mutex<T>(d: T) -> Mutex<Self, T>
fn notifier() -> (impl Notifier, impl NotifyWaiter)
Auto Trait Implementations§
impl Freeze for FakeOs
impl RefUnwindSafe for FakeOs
impl Send for FakeOs
impl Sync for FakeOs
impl Unpin for FakeOs
impl UnwindSafe for FakeOs
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