Expand description
Async FS operations.
Structs§
- File
- A reference to an open file in filesystem.
Functions§
- path_
exists - Returns future which checks if path
path
points to some file. - read_
dir - Returns stream of files and directories contained in the
path
directory. - read_
first_ line - Returns future which tries to read the first line from file.
- read_
into - Read
path
file and try to parse it into aR
type viastd::str::FromStr
. - read_
lines - Returns stream of lines yielded from file with
path
path. - read_
lines_ into - Returns stream which reads lines from file and tries to parse them with help of
FromStr
trait. - read_
link - Returns future which tries read the symlink.
- read_
to_ string - Read
path
file asynchronously and convert it contents into a string.