[][src]Struct takes::Takes

pub struct Takes<R> { /* fields omitted */ }

A Seekable Take implementation.

Note that Seek offsets may not start at zero.

Trait Implementations

impl<R: Read> Read for Takes<R>[src]

impl<R: Seek> Seek for Takes<R>[src]

The absolute offsets used in the Seek implementation are identical to those in the underlying Read. In other words, SeekFrom::Start(0) may seek beyond range and cause error.

Auto Trait Implementations

impl<R> RefUnwindSafe for Takes<R> where
    R: RefUnwindSafe

impl<R> Send for Takes<R> where
    R: Send

impl<R> Sync for Takes<R> where
    R: Sync

impl<R> Unpin for Takes<R> where
    R: Unpin

impl<R> UnwindSafe for Takes<R> where
    R: UnwindSafe

Blanket Implementations

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

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

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

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

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.