doc.rust-lang.org
pub macro panic!
Panics the current thread.
macro
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod thread
Windows-specific extensions to primitives in the std::thread module.
module
std
Stable since 1.9.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod raw
Windows-specific primitives.
module
std
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
fn from_raw(raw: u32) -> Self
Creates a new ExitStatus from the raw underlying u32 return value of a process.
associated_function
std
Stable since 1.12.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait ExitStatusExt
Windows-specific extensions to process::ExitStatus.
trait
std
Stable since 1.12.0
Version 1.100.0-nightly
doc.rust-lang.org
fn raw_arg<S>(&mut self, text_to_append_as_is: S) -> &mut process::Command
Append literal text to the command line without any quoting or escaping.
method
std
Stable since 1.62.0
Version 1.100.0-nightly
doc.rust-lang.org
fn creation_flags(&mut self, flags: u32) -> &mut process::Command
Sets the process creation flags to be passed to CreateProcess.
method
std
Stable since 1.16.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait CommandExt
Windows-specific extensions to the process::Command builder.
trait
std
Stable since 1.16.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod process
Windows-specific extensions to primitives in the std::process module.
module
std
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod prelude
A prelude for conveniently writing platform-specific code.
module
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn try_clone(&self) -> io::Result<Self>
Creates a new OwnedSocket instance that shares the same underlying object as the existing OwnedSocket instance.
method
std
Stable since 1.63.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct OwnedSocket
An owned socket.
struct
std
Stable since 1.63.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn try_clone_to_owned(&self) -> io::Result<OwnedSocket>
Creates a new OwnedSocket instance that shares the same underlying object as the existing BorrowedSocket instance.
method
std
Stable since 1.63.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn borrow_raw(socket: RawSocket) -> Self
Returns a BorrowedSocket holding the given raw socket.
associated_function
std
Stable since 1.63.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct BorrowedSocket<'socket>
A borrowed socket.
struct
std
Stable since 1.63.0
Version 1.100.0-nightly
doc.rust-lang.org
fn as_socket(&self) -> BorrowedSocket<'_>
Borrows the socket.
method
std
Stable since 1.63.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait AsSocket
A trait to borrow the socket from an underlying object.
trait
std
Stable since 1.63.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type RawSocket = raw::SOCKET
Raw SOCKETs.
type_alias
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type RawHandle = raw::HANDLE
Raw HANDLEs.
type_alias
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn into_raw_socket(self) -> RawSocket
Consumes this object, returning the raw underlying socket.
method
std
Stable since 1.4.0
Version 1.100.0-nightly