Trait windows::Handle [−][src]
pub unsafe trait Handle: Sized + PartialEq {
fn is_invalid(&self) -> bool { ... }
fn ok(self) -> Result<Self> { ... }
}
Expand description
Win32 handle types implement this trait to simplify error handling.