Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub const unsafe fn borrow_raw(handle: RawHandle) -> Self
Returns a BorrowedHandle holding the given raw handle.
associated_function std Stable since 1.63.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct BorrowedHandle<'handle>
A borrowed handle.
struct std Stable since 1.63.0 Version 1.100.0-nightly
doc.rust-lang.org
fn as_handle(&self) -> BorrowedHandle<'_>
Borrows the handle.
method std Stable since 1.63.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait AsHandle
A trait to borrow the handle from an underlying object.
trait std Stable since 1.63.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod io
Windows-specific extensions to general I/O primitives.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn symlink_file<P, Q>(original: P, link: Q) -> io::Result<()>
Creates a new symlink to a non-directory file on the filesystem.
function std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn symlink_dir<P, Q>(original: P, link: Q) -> io::Result<()>
Creates a new symlink to a directory on the filesystem.
function std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn share_mode(&mut self, val: u32) -> &mut Self
Overrides the dwShareMode argument to the call to CreateFile with the specified value.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
fn security_qos_flags(&mut self, flags: u32) -> &mut Self
Sets the dwSecurityQosFlags argument to the call to CreateFile2 to the specified value (or combines it with custom_flags and attributes to set the dwFlagsAndAttributes for CreateFile).
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
fn custom_flags(&mut self, flags: u32) -> &mut Self
Sets extra flags for the dwFileFlags argument to the call to CreateFile2 to the specified value (or combines it with attributes and security_qos_flags to set the dwFlagsAndAttributes for CreateFile).
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
fn attributes(&mut self, val: u32) -> &mut Self
Sets the dwFileAttributes argument to the call to CreateFile2 to the specified value (or combines it with custom_flags and security_qos_flags to set the dwFlagsAndAttributes for CreateFile).
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
fn access_mode(&mut self, access: u32) -> &mut Self
Overrides the dwDesiredAccess argument to the call to CreateFile with the specified value.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait OpenOptionsExt
Windows-specific extensions to fs::OpenOptions.
trait std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
fn last_write_time(&self) -> u64
Returns the value of the ftLastWriteTime field of this metadata.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn last_access_time(&self) -> u64
Returns the value of the ftLastAccessTime field of this metadata.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn file_size(&self) -> u64
Returns the value of the nFileSize fields of this metadata.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn file_attributes(&self) -> u32
Returns the value of the dwFileAttributes field of this metadata.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn creation_time(&self) -> u64
Returns the value of the ftCreationTime field of this metadata.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait MetadataExt
Windows-specific extensions to fs::Metadata.
trait std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn is_symlink_file(&self) -> bool
Returns true if this file type is a symbolic link that is also a file.
method std Stable since 1.64.0 Version 1.100.0-nightly
"Gaze not into the abyss, lest you become recognized as an ***abyss domain expert***, and they expect you keep gazing into the damn thing."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.