Crate atm_io_utils [] [src]

Utilities for working with std::io and futures_io.

Macros

retry

Helper macro for working with io::Result in a context where ErrorKind::Interrupted means to retry an action. This macro corresponds to std::try, but it will reevaluate the expression until it does not evaluate to an Err of kind Interrupted.

Structs

Duplex

Implements both (Async)Read and (Async)Write by delegating to an (Async)Read and an (Async)Write, taking ownership of both.