Skip to main content

InjectorExecutionAdapter

Trait InjectorExecutionAdapter 

Source
pub trait InjectorExecutionAdapter<Mode, T, Bridge>: OsAdapter
where Mode: ExecutionMode, Bridge: BridgeDispatch<Self, u64>,
{ type Handler: InjectorHandlerAdapter<Self, Mode, T, Bridge>; }
Available on crate features injector and utils only.
Expand description

Maps an OS to its mode-specific injector handler implementation.

Each OS implements this trait once per ExecutionMode, providing the concrete handler type that performs the actual injection.

Required Associated Types§

Source

type Handler: InjectorHandlerAdapter<Self, Mode, T, Bridge>

The concrete handler type for this OS and execution mode.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<Driver, T, Bridge> InjectorExecutionAdapter<KernelMode, T, Bridge> for WindowsOs<Driver>

Source§

type Handler = KernelInjectorHandler<Driver, T, Bridge>

Source§

impl<Driver, T, Bridge> InjectorExecutionAdapter<UserMode, T, Bridge> for WindowsOs<Driver>

Source§

type Handler = UserInjectorHandler<Driver, T, Bridge>