pub struct StdOs;Expand description
This implementation is only for unit testing.
Trait Implementations§
Source§impl NotifyWaiter<StdOs> for StdNotifyWaiter
impl NotifyWaiter<StdOs> for StdNotifyWaiter
Source§impl OsInterface for StdOs
Available on crate feature std only.
impl OsInterface for StdOs
Available on crate feature
std only.type RawMutex = FakeRawMutex
type Notifier = StdNotifier
type NotifyWaiter = StdNotifyWaiter
type Instant = StdTickInstant
type Delay = StdDelayNs
fn yield_thread()
fn delay() -> Self::Delay
fn notify() -> (Self::Notifier, Self::NotifyWaiter)
fn yield_task()
fn mutex<T>(d: T) -> Mutex<Self, T>
Auto Trait Implementations§
impl Freeze for StdOs
impl RefUnwindSafe for StdOs
impl Send for StdOs
impl Sync for StdOs
impl Unpin for StdOs
impl UnwindSafe for StdOs
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