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