Struct tk_sendfile::DiskPool [] [src]

pub struct DiskPool { /* fields omitted */ }

A reference to a thread pool for disk operations

Methods

impl DiskPool
[src]

Create a disk pool that sends its tasks into the CpuPool

Start a file send operation

A shortcut method to send whole file without headers

Trait Implementations

impl Clone for DiskPool
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more