pub struct StdOs;Expand description
This implementation is only for unit testing.
Trait Implementations§
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 Timeout = StdTimeoutNs
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 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