Struct faithe::thread::ThreadEntry
source · [−]Expand description
Represents single running thread in a process.
Fields
process_id: u32
Id of the process this thread is running in.
thread_id: u32
Id of the thread.
base_priority: i32
Priority of the thread.
Implementations
sourceimpl ThreadEntry
impl ThreadEntry
sourcepub fn open(
&self,
inherit_handle: bool,
desired_access: THREAD_ACCESS_RIGHTS
) -> Result<OwnedThread, FaitheError>
pub fn open(
&self,
inherit_handle: bool,
desired_access: THREAD_ACCESS_RIGHTS
) -> Result<OwnedThread, FaitheError>
Opens thread
Trait Implementations
sourceimpl Clone for ThreadEntry
impl Clone for ThreadEntry
sourcefn clone(&self) -> ThreadEntry
fn clone(&self) -> ThreadEntry
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ThreadEntry
impl Debug for ThreadEntry
sourceimpl From<THREADENTRY32> for ThreadEntry
impl From<THREADENTRY32> for ThreadEntry
Auto Trait Implementations
impl RefUnwindSafe for ThreadEntry
impl Send for ThreadEntry
impl Sync for ThreadEntry
impl Unpin for ThreadEntry
impl UnwindSafe for ThreadEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more