Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
fn st_mtime_nsec(&self) -> i64
Returns the last modification time of the file, in nanoseconds since st_mtime.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_mtime(&self) -> i64
Returns the last modification time of the file, in seconds since Unix Epoch.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_mode(&self) -> u32
Returns the file type and mode.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_ino(&self) -> u64
Returns the inode number.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_gid(&self) -> u32
Returns the group ID of the file owner.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_dev(&self) -> u64
Returns the device ID on which this file resides.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_ctime_nsec(&self) -> i64
Returns the last status change time of the file, in nanoseconds since st_ctime.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_ctime(&self) -> i64
Returns the last status change time of the file, in seconds since Unix Epoch.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_blocks(&self) -> u64
Returns the number of blocks allocated to the file, 512-byte units.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_blksize(&self) -> u64
Returns the "preferred" block size for efficient filesystem I/O.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_atime_nsec(&self) -> i64
Returns the last access time of the file, in nanoseconds since st_atime.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn st_atime(&self) -> i64
Returns the last access time of the file, in seconds since Unix Epoch.
method std Stable since 1.8.0 Version 1.100.0-nightly
doc.rust-lang.org
fn as_raw_stat(&self) -> &raw::stat
Gain a reference to the underlying stat structure which contains the raw information returned by the OS.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait MetadataExt
OS-specific extensions to fs::Metadata.
trait std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod fs
Linux-specific extensions to primitives in the std::fs module.
module std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod linux
Linux-specific definitions.
module std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub type RawFd = raw::c_int
Raw file descriptors.
type_alias std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn into_raw_fd(self) -> RawFd
Consumes this object, returning the raw underlying file descriptor.
method std Stable since 1.4.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait IntoRawFd
A trait to express the ability to consume an object and acquire ownership of its raw file descriptor.
trait std Stable since 1.4.0 Version 1.100.0-nightly
doc.rust-lang.org
unsafe fn from_raw_fd(fd: RawFd) -> Self
Constructs a new instance of Self from the given raw file descriptor.
associated_function std Stable since 1.1.0 Version 1.100.0-nightly
"It has been **0** days since someone tried and failed to use unsafe to circumvent the lifetime system."

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.