Crate tk_sendfile [] [src]

A thread pool that can process file requests and send data to the socket with zero copy (using sendfile).

Use DiskPool structure to request file operations.

Structs

DiskPool

A reference to a thread pool for disk operations

PathOpener

File opener implementation that opens specified file path directly

Sendfile

A structure that tracks progress of sending a file

WriteFile

Future returned by Sendfile::write_into()

Traits

Destination

A trait that represents anything that file can be sent to

FileOpener

This trait represents anything that can open the file

IntoFileOpener

Trait that represents something that can be converted into a file FileOpener