Expand description
Extension traits for Dir
Structs§
- Instances of this
AmbientAuthority
type serve to indicate that theambient_authority
function has been called, indicating that the user has explicitly opted into using ambient authority. - Re-export these to allow them to be used with
Reuse
. Metadata information about a file. - Re-export these to allow them to be used with
Reuse
. Options and flags which can be used to configure how a file is opened.
Enums§
- Access modes for use with [
DirExt::access
]. - Re-export these to allow them to be used with
Reuse
. Should symlinks be followed in the last component of a path? - A value for specifying a time.
Traits§
- Extension trait for
DirEntry
. - Extension trait for
Dir
. - Extension trait for
FileType
. - A trait for the
is_file_read_write
function forFile
types. - Extension trait for
Metadata
. - Re-export these to allow them to be used with
Reuse
. Unix-specific extensions to [fs::OpenOptions
]. - Extension trait for
cap_primitives::fs::OpenOptions
which addsfollow
, a function for controlling whether a symlink in the last component of a path is followed. - Extension trait for
cap_primitives::fs::OpenOptions
which addsmaybe_dir
, a function for controlling whether an open should attempt to succeed on a directory. On Posix-ish platforms, opening a directory always succeeds, but on Windows, opening a directory needs this option. - Extension trait for
cap_primitives::fs::OpenOptions
which addssync
,dsync
,rsync
, andnonblock
functions for controlling various I/O modes for the opened file. - Re-export these to allow them to be used with
Reuse
. Unix-specific extensions forMetadataExt
. - A trait for the
reopen
function.
Functions§
- Return an
AmbientAuthority
value, which allows use of functions that include anAmbientAuthority
argument.