Function unimplementedSendFile [src]
For use when the Writer implementation can cannot offer a more efficient
implementation than a basic read/write loop on the file.
Prototype
pub fn unimplementedSendFile(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 unimplementedSendFile(w: *Writer, file_reader: *File.Reader, limit: Limit) FileError!usize {
_ = w;
_ = file_reader;
_ = limit;
return error.Unimplemented;
}