Module handy_async::io::futures [] [src]

I/O operation related futures.

Structs

Flush

A future which will flush the internal buffer of W.

ReadAll

A future which will read all bytes remaining in a stream.

ReadBuf

A future which will read bytes from R to fill the buffer B completely.

ReadBytes

A future which will read bytes from R.

ReadEos

A future which will determine whether the stream R is reached to the "End-Of-Stream" state.

ReadExact

A future which will read bytes required to fill the buffer B completely.

ReadFixnum

A future which will read a fixnum associated with P from R.

ReadLengthPrefixedBytes

A future which will read a length-prefixed bytes.

ReadNonEmpty

A future which will read non empty bytes from R.

ReadPartialBuf

A future which will read bytes from R to fill the buffer B to the extent possible.

ReadPattern

Future to match between a pattern P and bytes read from R.

ReadString

A future which will read String from R.

ReadUntil

A future which continues reading until F returns Ok(Some(T)) or Err(..).

ReadUtf8

A future which will read a UTF-8 string.

WriteAll

A future which will write all bytes to W.

WriteBuf

A future which will write bytes contained in the buffer B to W.

WriteBytes

A future which will write bytes to W.

WriteFixnum

A future which will write a fixnum associated with P into W.

WriteFlush

A future which will flush the internal buffer of W.

WritePartialBuf

A future which will write bytes contained in the buffer B to W to the extent possible.

WritePattern

Future to write a pattern P into W.