pub struct ThreadMetadata {
pub thread: ThreadHandle,
pub name: String,
pub stack_depth: StackType,
pub priority: UBaseType,
pub thread_number: UBaseType,
pub state: ThreadState,
pub current_priority: UBaseType,
pub base_priority: UBaseType,
pub run_time_counter: UBaseType,
pub stack_high_water_mark: StackType,
}Fields§
§thread: ThreadHandle§name: String§stack_depth: StackType§priority: UBaseType§thread_number: UBaseType§state: ThreadState§current_priority: UBaseType§base_priority: UBaseType§run_time_counter: UBaseType§stack_high_water_mark: StackTypeTrait Implementations§
Source§impl Clone for ThreadMetadata
impl Clone for ThreadMetadata
Source§fn clone(&self) -> ThreadMetadata
fn clone(&self) -> ThreadMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThreadMetadata
impl Debug for ThreadMetadata
Source§impl Default for ThreadMetadata
impl Default for ThreadMetadata
Source§impl From<(*const c_void, TaskStatus)> for ThreadMetadata
impl From<(*const c_void, TaskStatus)> for ThreadMetadata
Source§fn from(status: (ThreadHandle, TaskStatus)) -> Self
fn from(status: (ThreadHandle, TaskStatus)) -> Self
Converts to this type from the input type.
impl Send for ThreadMetadata
impl Sync for ThreadMetadata
Auto Trait Implementations§
impl Freeze for ThreadMetadata
impl RefUnwindSafe for ThreadMetadata
impl Unpin for ThreadMetadata
impl UnwindSafe for ThreadMetadata
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