doc.rust-lang.org
fn is_symlink_dir(&self) -> bool
Returns true if this file type is a symbolic link that is also a directory.
method
std
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait FileTypeExt
Windows-specific extensions to fs::FileType.
trait
std
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
fn set_created(self, t: SystemTime) -> Self
Set the creation time of a file.
method
std
Stable since 1.75.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait FileTimesExt
Windows-specific extensions to fs::FileTimes.
trait
std
Stable since 1.75.0
Version 1.100.0-nightly
doc.rust-lang.org
fn seek_write(&self, buf: &[u8], offset: u64) -> io::Result<usize>
Seeks to a given position and writes a number of bytes.
method
std
Stable since 1.15.0
Version 1.100.0-nightly
doc.rust-lang.org
fn seek_read(&self, buf: &mut [u8], offset: u64) -> io::Result<usize>
Seeks to a given position and reads a number of bytes.
method
std
Stable since 1.15.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait FileExt
Windows-specific extensions to fs::File.
trait
std
Stable since 1.15.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod fs
Windows-specific extensions to primitives in the std::fs module.
module
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn from_wide(wide: &[u16]) -> Self
Creates an OsString from a potentially ill-formed UTF-16 slice of 16-bit code units.
associated_function
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait OsStringExt
Windows-specific extensions to OsString.
trait
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn encode_wide(&self) -> EncodeWide<'_>
Re-encodes an OsStr as a wide character sequence, i.e., potentially ill-formed UTF-16.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub trait OsStrExt
Windows-specific extensions to OsStr.
trait
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct EncodeWide<'a>
Iterator returned by OsStrExt::encode_wide.
struct
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod ffi
Windows-specific extensions to primitives in the std::ffi module.
module
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod windows
Platform-specific extensions to std for Windows.
module
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod wasip2
Platform-specific extensions to std for Preview 2 of the WebAssembly System Interface (WASI).
module
std
Stable since 1.1.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 mod io
WASI-specific extensions to general I/O primitives.
module
std
Stable since 1.65.0
Version 1.100.0-nightly
doc.rust-lang.org
fn into_vec(self) -> Vec<u8>
Yields the underlying byte vector of this OsString.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
fn from_vec(vec: Vec<u8>) -> Self
Creates an OsString from a byte vector.
associated_function
std
Stable since 1.0.0
Version 1.100.0-nightly