[][src]Struct readfilez::ContinuableFile

#[must_use]
pub struct ContinuableFile { /* fields omitted */ }

Methods

impl ContinuableFile[src]

pub fn new(file: File) -> Self[src]

Important traits for ChunkedFile
pub fn to_chunks(self, lns: LengthSpec) -> ChunkedFile[src]

pub fn sync_len(&mut self)[src]

pub fn next(&mut self, lns: LengthSpec) -> Result<FileHandle>[src]

Tries to read the next part of the file contents

Trait Implementations

impl Seek for ContinuableFile[src]

fn stream_len(&mut self) -> Result<u64, Error>[src]

🔬 This is a nightly-only experimental API. (seek_convenience)

Returns the length of this stream (in bytes). Read more

fn stream_position(&mut self) -> Result<u64, Error>[src]

🔬 This is a nightly-only experimental API. (seek_convenience)

Returns the current seek position from the start of the stream. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]