pub struct Thread;Available on crate feature
osal-embassy only.Expand description
Implements the ThreadAbstraction trait for Embassy.
Only supports running on a single core (and thread) on no_std systems.
Using the abstraction on any no_std system that uses multiple cores or threads may lead to undefined behavior.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Thread
impl RefUnwindSafe for Thread
impl Send for Thread
impl Sync for Thread
impl Unpin for Thread
impl UnwindSafe for Thread
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