Struct io_at::BlockLimitWrite [] [src]

pub struct BlockLimitWrite<T: WriteAt> { /* fields omitted */ }

Limit the amount of data accepted in a single call to WriteAt (ReadAt is unaffected)

This is primarily useful for testing that handling of incomplete writes work properly.

Methods

impl<T: WriteAt> BlockLimitWrite<T>
[src]

Trait Implementations

impl<T: Debug + WriteAt> Debug for BlockLimitWrite<T>
[src]

Formats the value using the given formatter.

impl<T: Eq + WriteAt> Eq for BlockLimitWrite<T>
[src]

impl<T: PartialEq + WriteAt> PartialEq for BlockLimitWrite<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: WriteAt + ReadAt> ReadAt for BlockLimitWrite<T>
[src]

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

impl<T: WriteAt> Deref for BlockLimitWrite<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T: WriteAt> DerefMut for BlockLimitWrite<T>
[src]

The method called to mutably dereference a value