Trait cvt_trait::NtCvt [−][src]
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
.