Struct futures_fs::ReadOptions [−][src]
pub struct ReadOptions { /* fields omitted */ }
Options for how to read the file.
The default is to automatically determine the buffer size.
Methods
impl ReadOptions
[src]
impl ReadOptions
pub fn buffer_size(self, buffer_size: usize) -> Self
[src]
pub fn buffer_size(self, buffer_size: usize) -> Self
The buffer size to use when reading.
Default is automatically determined from the operating system.
Panic
The passed argument must be larger than 0.
Trait Implementations
impl Debug for ReadOptions
[src]
impl Debug for ReadOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for ReadOptions
[src]
impl Default for ReadOptions
fn default() -> ReadOptions
[src]
fn default() -> ReadOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ReadOptions
impl Send for ReadOptions
impl Sync for ReadOptions
impl Sync for ReadOptions