[][src]Struct win_ring0::WinRing0

pub struct WinRing0 { /* fields omitted */ }

WinRing0 driver

Methods

impl<'a> WinRing0[src]

pub fn new() -> Self[src]

pub fn install(&self) -> Result<(), String>[src]

Install the winRing0 driver.

pub fn open(&mut self) -> Result<(), String>[src]

Open the winRing0 driver for communication

pub fn close(&mut self) -> Result<(), String>[src]

Close the winRing0 driver handle

pub fn uninstall(&mut self) -> Result<(), String>[src]

Uninstall the winRing0 driver

pub fn readMsr(&self, msr: DWORD) -> Result<u64, String>[src]

Read an MSR register

pub fn io(&self, ioctl: IOCTL, in_buffer: u32) -> Result<u64, String>[src]

Raw IO function. See [WinKernelDriver::io] for more information

Auto Trait Implementations

impl RefUnwindSafe for WinRing0

impl !Send for WinRing0

impl !Sync for WinRing0

impl Unpin for WinRing0

impl UnwindSafe for WinRing0

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.