Function failingSendFile [src]
Prototype
pub fn failingSendFile(w: *Writer, file_reader: *File.Reader, limit: Limit) FileError!usize
Parameters
w: *Writer
file_reader: *File.Reader
limit: Limit
Possible Errors
Reached the end of the file being read.
Detailed diagnostics are found on the File.Reader
struct.
Indicates the caller should do its own file reading; the callee cannot offer a more efficient implementation.
See the Writer
implementation for detailed diagnostics.
Source
pub fn failingSendFile(w: *Writer, file_reader: *File.Reader, limit: Limit) FileError!usize {
_ = w;
_ = file_reader;
_ = limit;
return error.WriteFailed;
}