Struct atm_io_utils::partial::PartialWrite [] [src]

pub struct PartialWrite<W, Ops> { /* fields omitted */ }

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

Methods

impl<W, Ops> PartialWrite<W, Ops>
[src]

[src]

Create a new PartialWrite, wrapping the given W and modifying its io operations via the given Ops.

[src]

Gets a reference to the underlying W.

[src]

Gets a mutable reference to the underlying W.

[src]

Consumes this PartialWrite, returning the underlying writer.

Trait Implementations

impl<W: Debug, Ops: Debug> Debug for PartialWrite<W, Ops>
[src]

[src]

Formats the value using the given formatter. Read more

impl<W, Ops> AsyncWrite for PartialWrite<W, Ops> where
    W: AsyncWrite,
    Ops: Iterator<Item = PartialOp>, 
[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

impl<W, Ops> AsyncRead for PartialWrite<W, Ops> where
    W: AsyncRead
[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

Auto Trait Implementations

impl<W, Ops> Send for PartialWrite<W, Ops> where
    Ops: Send,
    W: Send

impl<W, Ops> Sync for PartialWrite<W, Ops> where
    Ops: Sync,
    W: Sync