Trait cvt_trait::WSACvt [−][src]
Expand description
The trait for Winsock 2 APIs.
Example (Windows-only)
ⓘ
use cvt_trait::prelude::*; unsafe { WSADoSomething() }.wsa_cvt().expect("Winsock API failed");
Required methods
Converts the “numeric” result returned by the Winsock 2 API to
io::Result
.