Skip to main content

FromWindowsObject

Trait FromWindowsObject 

Source
pub trait FromWindowsObject<'a, Driver>: Sized
where Driver: VmiRead, Driver::Architecture: ArchAdapter<Driver>,
{ // Required method fn from_object( object: WindowsObject<'a, Driver>, ) -> Result<Option<Self>, VmiError>; }
Expand description

Trait for types that can be converted from a WindowsObject.

Required Methods§

Source

fn from_object( object: WindowsObject<'a, Driver>, ) -> Result<Option<Self>, VmiError>

Attempts to convert a WindowsObject into a specific object type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, Driver> FromWindowsObject<'a, Driver> for WindowsDirectoryObject<'a, Driver>
where Driver: VmiRead, Driver::Architecture: ArchAdapter<Driver>,

Source§

impl<'a, Driver> FromWindowsObject<'a, Driver> for WindowsFileObject<'a, Driver>
where Driver: VmiRead, Driver::Architecture: ArchAdapter<Driver>,

Source§

impl<'a, Driver> FromWindowsObject<'a, Driver> for WindowsObject<'a, Driver>
where Driver: VmiRead, Driver::Architecture: ArchAdapter<Driver>,

Source§

impl<'a, Driver> FromWindowsObject<'a, Driver> for WindowsObjectType<'a, Driver>
where Driver: VmiRead, Driver::Architecture: ArchAdapter<Driver>,

Source§

impl<'a, Driver> FromWindowsObject<'a, Driver> for WindowsProcess<'a, Driver>
where Driver: VmiRead, Driver::Architecture: ArchAdapter<Driver>,

Source§

impl<'a, Driver> FromWindowsObject<'a, Driver> for WindowsSectionObject<'a, Driver>
where Driver: VmiRead, Driver::Architecture: ArchAdapter<Driver>,

Source§

impl<'a, Driver> FromWindowsObject<'a, Driver> for WindowsThread<'a, Driver>
where Driver: VmiRead, Driver::Architecture: ArchAdapter<Driver>,

Source§

impl<'a, Driver> FromWindowsObject<'a, Driver> for WindowsToken<'a, Driver>
where Driver: VmiRead, Driver::Architecture: ArchAdapter<Driver>,