pub struct WindowsHandleTableEntry<'a, Driver>{ /* private fields */ }Expand description
A Windows handle table entry.
A handle table entry maps a handle to a kernel object within the process’s handle table.
§Implementation Details
Corresponds to _HANDLE_TABLE_ENTRY.
Implementations§
Source§impl<'a, Driver> WindowsHandleTableEntry<'a, Driver>
impl<'a, Driver> WindowsHandleTableEntry<'a, Driver>
Sourcepub fn new(vmi: VmiState<'a, Driver, WindowsOs<Driver>>, va: Va) -> Self
pub fn new(vmi: VmiState<'a, Driver, WindowsOs<Driver>>, va: Va) -> Self
Creates a new Windows handle table entry.
Sourcepub fn object(&self) -> Result<Option<WindowsObject<'a, Driver>>, VmiError>
pub fn object(&self) -> Result<Option<WindowsObject<'a, Driver>>, VmiError>
Returns the object associated with this handle.
§Implementation Details
Corresponds to _OBJECT_HEADER.Object or _OBJECT_HEADER.ObjectPointerBits.
Trait Implementations§
Source§impl<Driver> VmiVa for WindowsHandleTableEntry<'_, Driver>
impl<Driver> VmiVa for WindowsHandleTableEntry<'_, Driver>
Auto Trait Implementations§
impl<'a, Driver> Freeze for WindowsHandleTableEntry<'a, Driver>
impl<'a, Driver> !RefUnwindSafe for WindowsHandleTableEntry<'a, Driver>
impl<'a, Driver> !Send for WindowsHandleTableEntry<'a, Driver>
impl<'a, Driver> !Sync for WindowsHandleTableEntry<'a, Driver>
impl<'a, Driver> Unpin for WindowsHandleTableEntry<'a, Driver>
impl<'a, Driver> !UnwindSafe for WindowsHandleTableEntry<'a, Driver>
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