Expand description
Prelude: file system
The purpose of this module is to expose common file system operations.
Modules§
- Prelude for async utilities for use in web applications.
Structs§
- A reference to an open file on the filesystem.
- Options and flags which can be used to configure how a file is opened.
- Helper struct for
read_to_async
.
Functions§
- Reads from
reader
tobuffer
until it returns zero bytes ormax_length
is reached.BytesMut::len
is used as a starting length ofbuffer
. Note thatmax_len
is a suggestion and will probably be overran.