Struct futures_fs::FsPool [] [src]

pub struct FsPool { /* fields omitted */ }

A pool of threads to handle file IO.

Methods

impl FsPool
[src]

[src]

Creates a new FsPool, with the supplied number of threads.

[src]

Returns a Stream of the contents of the file at the supplied path.

[src]

Returns a Sink to send bytes to be written to the file at the supplied path.

[src]

Returns a Future that resolves when the target file is deleted.

Trait Implementations

impl Clone for FsPool
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for FsPool
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for FsPool
[src]

[src]

Formats the value using the given formatter.