[][src]Trait takes::Ext

pub trait Ext: Read + Seek + Sized {
    pub fn takes(self, limit: u64) -> Result<Takes<Self>>;
}

Extension trait for Read + Seek to support takes

Required methods

pub fn takes(self, limit: u64) -> Result<Takes<Self>>[src]

Returns a seekable Take.

Errors

Returns an error if the current offset could not be seeked.

Loading content...

Implementors

impl<R: Read + Seek> Ext for R[src]

Loading content...