pub struct RtThread { /* private fields */ }Expand description
Re-exports of core scheduler primitives for convenient use in application code. Re-exports of core scheduler primitives for convenient use in application code. Re-exports of core scheduler primitives for convenient use in application code. Thread control block for RT-scheduled threads.
Implementations§
Source§impl RtThread
impl RtThread
pub fn thread_ctx(&self) -> &ThreadCtx
pub fn thread_ctx_mut(&mut self) -> &mut ThreadCtx
pub fn has_ktimer(&self) -> bool
pub fn runtime(&self) -> u32
Auto Trait Implementations§
impl !Send for RtThread
impl !Sync for RtThread
impl Forget for RtThread
impl Freeze for RtThread
impl Move for RtThread
impl RefUnwindSafe for RtThread
impl Unpin for RtThread
impl UnsafeUnpin for RtThread
impl UnwindSafe for RtThread
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