pub enum ThreadContext<'a> {
X86(&'a ThreadContextX86),
X64(&'a ThreadContextX64),
}Expand description
A ThreadContext stores the thread contexts for the architecture that are
supported by the library.
Variants§
X86(&'a ThreadContextX86)
The Intel x86 thread context.
X64(&'a ThreadContextX64)
The Intel x64 thread context.
Trait Implementations§
Source§impl<'a> Debug for ThreadContext<'a>
impl<'a> Debug for ThreadContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for ThreadContext<'a>
impl<'a> RefUnwindSafe for ThreadContext<'a>
impl<'a> Send for ThreadContext<'a>
impl<'a> Sync for ThreadContext<'a>
impl<'a> Unpin for ThreadContext<'a>
impl<'a> UnwindSafe for ThreadContext<'a>
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