Struct atm_io_utils::partial::PartialRead [] [src]

pub struct PartialRead<R, Ops> { /* fields omitted */ }

Wraps a reader and modifies its read operations according to the given iterator of PartialOps.

Methods

impl<R, Ops> PartialRead<R, Ops>
[src]

[src]

Create a new PartialRead, wrapping the given R and modifying its io operations via the given Ops.

[src]

Gets a reference to the underlying R.

[src]

Gets a mutable reference to the underlying R.

[src]

Consumes this PartialRead, returning the underlying reader.

Trait Implementations

impl<R: Debug, Ops: Debug> Debug for PartialRead<R, Ops>
[src]

[src]

Formats the value using the given formatter. Read more

impl<R, Ops> AsyncRead for PartialRead<R, Ops> where
    R: AsyncRead,
    Ops: Iterator<Item = PartialOp>, 
[src]

[src]

Attempt to read from the AsyncRead into buf. Read more

[src]

Determines if this AsyncReader can work with buffers of uninitialized memory. Read more

[src]

Attempt to read from the AsyncRead into vec using vectored IO operations. Read more

impl<W, Ops> AsyncWrite for PartialRead<W, Ops> where
    W: AsyncWrite
[src]

[src]

Attempt to write bytes from buf into the object. Read more

[src]

Attempt to flush the object, ensuring that any buffered data reach their destination. Read more

[src]

Attempt to close the object. Read more

[src]

Attempt to write bytes from vec into the object using vectored IO operations. Read more

Auto Trait Implementations

impl<R, Ops> Send for PartialRead<R, Ops> where
    Ops: Send,
    R: Send

impl<R, Ops> Sync for PartialRead<R, Ops> where
    Ops: Sync,
    R: Sync