Module rustc_std_workspace_std::os::windows::prelude

1.0.0 · source ·
Available on Windows only.
Expand description

A prelude for conveniently writing platform-specific code.

Includes all extension traits, and some important type definitions.

Structs

  • A borrowed handle.
  • A borrowed socket.
  • FFI type for handles in return values or out parameters, where INVALID_HANDLE_VALUE is used as a sentry value to indicate errors, such as in the return value of CreateFileW. This uses repr(transparent) and has the representation of a host handle, so that it can be used in such FFI declarations.
  • An owned handle.
  • An owned socket.

Traits

Type Definitions