Trait win_sys::Handle[][src]

pub unsafe trait Handle: PartialEq<Self> {
    fn is_invalid(&self) -> bool { ... }
fn ok(self) -> Result<Self, Error> { ... } }
Expand description

Win32 handle types implement this trait to simplify error handling.

Safety

Provided methods

Implementations on Foreign Types

Implementors