pub enum RiscvThreadIdProvider {}Expand description
Implement ThreadIdProvider for RISC-V.
Trait Implementations§
Source§impl ThreadIdProvider for RiscvThreadIdProvider
Available on not ((RISC-V RV32 or RISC-V RV64) and bare-metal).
impl ThreadIdProvider for RiscvThreadIdProvider
Available on not ((RISC-V RV32 or RISC-V RV64) and bare-metal).
Source§fn running_thread_id() -> usize
fn running_thread_id() -> usize
Return a unique ID for the currently executing thread. Read more
Auto Trait Implementations§
impl Freeze for RiscvThreadIdProvider
impl RefUnwindSafe for RiscvThreadIdProvider
impl Send for RiscvThreadIdProvider
impl Sync for RiscvThreadIdProvider
impl Unpin for RiscvThreadIdProvider
impl UnsafeUnpin for RiscvThreadIdProvider
impl UnwindSafe for RiscvThreadIdProvider
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