Trait cvt_trait::NtCvt[][src]

pub trait NtCvt: Sealed {
    fn nt_cvt(self) -> Result<Self::Output>;
}

The trait for NT APIs.

Example (Windows-only)

use cvt_trait::prelude::*;
unsafe { NtDoSomething() }.nt_cvt().expect("NT API failed");

Required methods

fn nt_cvt(self) -> Result<Self::Output>[src]

Converts the "numeric" result returned by the NT API to io::Result.

Loading content...

Implementors

Loading content...