Struct Thread
pub struct Thread;Available on crate feature
osal-std only.Expand description
Implements the ThreadAbstraction trait for standard Rust.
Trait Implementations§
§impl ThreadAbstraction for Thread
impl ThreadAbstraction for Thread
§fn current_thread_id() -> NonZero<u64>
fn current_thread_id() -> NonZero<u64>
Returns a unique identifier for the current thread. Read more
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