Crate cvt_trait[−][src]
Expand description
Reimplementation of the private std::sys::cvt()
, but as a trait method.
Example
use cvt_trait::prelude::*; unsafe { os_api() }.cvt().expect("OS API failed");
Modules
prelude | The prelude. |
Traits
Cvt | The main trait in this crate. |
NtCvt | The trait for NT APIs. |
WSACvt | The trait for Winsock 2 APIs. |