Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
fn ino(&self) -> u64
Returns the inode number.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn gid(&self) -> u32
Returns the group ID of the owner of this file.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn dev(&self) -> u64
Returns the ID of the device containing the file.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn ctime_nsec(&self) -> i64
Returns the last status change time of the file, in nanoseconds since ctime.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn ctime(&self) -> i64
Returns the last status change time of the file, in seconds since Unix Epoch.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn blocks(&self) -> u64
Returns the number of blocks allocated to the file, in 512-byte units.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn blksize(&self) -> u64
Returns the block size for filesystem I/O.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn atime_nsec(&self) -> i64
Returns the last access time of the file, in nanoseconds since atime.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn atime(&self) -> i64
Returns the last access time of the file, in seconds since Unix Epoch.
method std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait MetadataExt
Unix-specific extensions to fs::Metadata.
trait std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
fn is_socket(&self) -> bool
Returns true if this file type is a socket.
method std Stable since 1.5.0 Version 1.100.0-nightly
doc.rust-lang.org
fn is_fifo(&self) -> bool
Returns true if this file type is a fifo.
method std Stable since 1.5.0 Version 1.100.0-nightly
doc.rust-lang.org
fn is_char_device(&self) -> bool
Returns true if this file type is a char device.
method std Stable since 1.5.0 Version 1.100.0-nightly
doc.rust-lang.org
fn is_block_device(&self) -> bool
Returns true if this file type is a block device.
method std Stable since 1.5.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait FileTypeExt
Unix-specific extensions for fs::FileType.
trait std Stable since 1.5.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize>
Writes a number of bytes starting from a given offset.
method std Stable since 1.15.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_all_at(&self, buf: &[u8], offset: u64) -> io::Result<()>
Attempts to write an entire buffer starting from a given offset.
method std Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
fn read_exact_at(&self, buf: &mut [u8], offset: u64) -> io::Result<()>
Reads the exact number of bytes required to fill buf from the given offset.
method std Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
fn read_at(&self, buf: &mut [u8], offset: u64) -> io::Result<usize>
Reads a number of bytes starting from a given offset.
method std Stable since 1.15.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait FileExt
Unix-specific extensions to fs::File.
trait std Stable since 1.15.0 Version 1.100.0-nightly
"The Rust compiler is basically 30 years of trying to figure out how to teach a computer how to see the things we worry about as C developers."

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.