about summary refs log tree commit diff
path: root/library/std/src/os/windows/io/handle.rs
AgeCommit message (Expand)AuthorLines
2025-04-09replace version placeholderBoxy-6/+6
2025-03-14Mv os-specific trait impl of `Pipe*` into `std::os::*`Jiahao XU-0/+42
2024-11-19UniqueRc: platform-specific AsFd/Handle/etc impls to mirror RcZachary S-0/+8
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+1
2024-07-26Fix doc nitsJohn Arundel-1/+1
2024-07-15lib: replace some `mem::forget`'s with `ManuallyDrop`Pavel Grigorenko-4/+2
2024-03-14Rollup merge of #119029 - dylni:avoid-closing-invalid-handles, r=ChrisDentonMatthias Krüger-21/+47
2024-03-09Rollup merge of #114655 - nbdd0121:io-safety, r=dtolnayGuillaume Boisseau-5/+5
2024-03-09Avoid closing invalid handlesdylni-21/+47
2024-02-04Document various I/O handle conversionsRyan Lowe-0/+5
2024-01-28Make `impl<T: AsHandle>` impl take `?Sized`Gary Guo-5/+5
2023-11-22useless_conversionChris Denton-1/+1
2023-05-30Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-3/+3
2023-05-14Auto merge of #108196 - sunfishcode:sunfishcode/windows-as-socket-impls, r=dt...bors-0/+36
2023-05-09Don't force include Windows goop when documentingChris Denton-9/+9
2023-04-28replace version placeholdersPietro Albini-1/+1
2023-04-26Spelling library/Josh Soref-1/+1
2023-04-10Stabilize IsTerminalJosh Triplett-1/+1
2023-02-17Implement `AsHandle`/`AsSocket` for `Arc`/`Rc`/`Box` on WindowsDan Gohman-0/+36
2022-10-15Add `IsTerminal` trait to determine if a descriptor or handle is a terminalJosh Triplett-0/+17
2022-06-15Add the new stability attributes, for Windows.Dan Gohman-0/+1
2022-06-15Revise the documentation for `try_clone`.Dan Gohman-2/+2
2022-06-15Add `BorrowedFd::try_clone_to_owned`.Dan Gohman-0/+8
2022-06-15Document that `BorrowedFd` may be used to do a `dup`.Dan Gohman-3/+3
2022-06-14Implement stabilization of `#[feature(io_safety)]`.Dan Gohman-16/+56
2022-05-17Revert "Auto merge of #96441 - ChrisDenton:sync-pipes, r=m-ou-se"Mark Rousskov-13/+0
2022-05-15fix use of SetHandleInformation on UWPbdbai-0/+1
2022-05-11Fix comment syntax.Dan Gohman-0/+1
2022-05-11Relax the wording about the meaning of -1.Dan Gohman-6/+11
2022-05-11HandleOrNull can hold null, and HandleOrInvalid can hold INVALID_HANDLE_VALUE.Dan Gohman-9/+5
2022-05-10Fix incorrect mentions of `OwnedFd` and `BorrowedFd` in Windows docs.Dan Gohman-4/+4
2022-05-10Clarify what values `BorrowedHandle`, `OwnedHandle` etc. can hold.Dan Gohman-12/+17
2022-05-10Auto merge of #96232 - sunfishcode:sunfishcode/io-safety-const-fns, r=joshtri...bors-1/+1
2022-05-09Use Rust 2021 prelude in std itself.Mara Bos-1/+0
2022-04-29Auto merge of #96441 - ChrisDenton:sync-pipes, r=m-ou-sebors-0/+12
2022-04-26Add `set_inheritable` for Windows `Handle`sChris Denton-0/+12
2022-04-19Make `BorrowedFd::borrow_raw` a const fn.Dan Gohman-1/+1
2022-04-18Add a comment explaining the `(())` idiom for empty structs.Dan Gohman-0/+2
2022-04-18Split `NotHandle` into `NullHandleError` and `InvalidHandleError`.Dan Gohman-14/+31
2022-04-18Move the `Error` impl for `NotHandle` out of platform-independent code.Dan Gohman-0/+3
2022-04-18Fix an incorrect word in a comment.Dan Gohman-2/+2
2022-04-18Define a dedicated error type for `HandleOrNull` and `HandleOrInvalid`.Dan Gohman-6/+20
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-1/+2
2022-03-20Preserve the Windows `GetLastError` error in `HandleOrInvalid`.Dan Gohman-2/+18
2022-03-04Fix a compilation error.Dan Gohman-1/+1
2022-03-04Consistently present absent stdio handles on Windows as NULL handles.Dan Gohman-1/+11
2022-03-03Use `HandleOrNull` and `HandleOrInvalid` in the Windows FFI bindings.Dan Gohman-0/+1
2022-03-03Rollup merge of #93562 - sunfishcode:sunfishcode/io-docs, r=joshtriplettMatthias Krüger-27/+11
2022-03-03Rollup merge of #93663 - sunfishcode:sunfishcode/as-raw-name, r=joshtriplettDylan DPC-12/+12
2022-03-03Rollup merge of #93354 - sunfishcode:sunfishcode/document-borrowedfd-toowned,...Dylan DPC-0/+4