Struct io_at::Take [] [src]

pub struct Take<T> { /* fields omitted */ }

Limit the maximum offset of a WriteAt and/or ReadAt.

This can be useful when trying to simulate a fixed size item (like a block device) with a normal file.

Methods

impl<T> Take<T>
[src]

Trait Implementations

impl<T: Debug> Debug for Take<T>
[src]

Formats the value using the given formatter.

impl<T: Eq> Eq for Take<T>
[src]

impl<T: PartialEq> PartialEq for Take<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: ReadAt> ReadAt for Take<T>
[src]

impl<T: WriteAt> WriteAt for Take<T>
[src]

impl<T> Deref for Take<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T> DerefMut for Take<T>
[src]

The method called to mutably dereference a value