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