pub struct Thread { /* private fields */ }
Implementations§
Source§impl Thread
impl Thread
pub fn set_user_data(&mut self, user_data: Box<dyn UserData>)
pub fn get_user_data(&mut self) -> Option<&mut Box<dyn UserData>>
pub fn get_tid(&self) -> u64
pub fn get_state(&self) -> ThreadState
pub fn get_pc(&mut self) -> Result<u64>
pub fn set_single_step(&mut self, setting: bool) -> Result<()>
pub fn get_single_step(&self) -> bool
pub fn get_next_instruction(&mut self) -> Result<u64>
pub fn suspend(&mut self) -> Result<()>
pub fn resume(&mut self) -> Result<()>
pub fn read_register(&mut self, reg: Register) -> Result<u64>
pub fn write_register(&mut self, reg: Register, value: u64) -> Result<()>
Trait Implementations§
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