Function failingSendFile [src]

Prototype

pub fn failingSendFile(w: *Writer, file_reader: *File.Reader, limit: Limit) FileError!usize

Parameters

w: *Writerfile_reader: *File.Readerlimit: Limit

Possible Errors

EndOfStream

Reached the end of the file being read.

ReadFailed

Detailed diagnostics are found on the File.Reader struct.

Unimplemented

Indicates the caller should do its own file reading; the callee cannot offer a more efficient implementation.

WriteFailed

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; }