Skip to content

Tracking issue for OpenOptionsExt on Windows #27720

Closed
@alexcrichton

Description

@alexcrichton

This is a tracking issue for the unstable open_options_ext feature in the standard library. Currently Unix has a stable extension trait for setting the mode of a file but Windows has not stabilized any of its functionality. The current set of methods on the Windows extension trait just provide the ability to override any of the arguments to CreateFile.

The open questions here are:

  • Is the naming right?
  • Are the types right? (e.g. should they be updated to use std::os::windows::raw?)
  • Do more options want to be specified?
  • Does Unix want any more methods on OpenOptionsExt?

APIs:

  • OpenOptionsExt::access_mode
  • OpenOptionsExt::share_mode
  • OpenOptionsExt::attributes
  • OpenOptionsExt::security_qos_flags

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions