Trait VmiOsThread

Source
pub trait VmiOsThread<'a, Driver>: VmiVa + 'a
where Driver: VmiDriver,
{ type Os: VmiOs<Driver>; // Required methods fn id(&self) -> Result<ThreadId, VmiError>; fn object(&self) -> Result<ThreadObject, VmiError>; }
Expand description

A trait for thread objects.

This trait provides an abstraction over threads within a guest OS.

Required Associated Types§

Source

type Os: VmiOs<Driver>

The VMI OS type.

Required Methods§

Source

fn id(&self) -> Result<ThreadId, VmiError>

Returns the thread ID.

Source

fn object(&self) -> Result<ThreadObject, VmiError>

Returns the thread object.

Implementors§

Source§

impl<Driver> VmiOsThread<'_, Driver> for NoOS
where Driver: VmiDriver,