[−][src]Module grin_util::read_write
Custom impls of read_exact and write_all to work around async stream restrictions.
Functions
read_exact | The default implementation of read_exact is useless with an async stream (TcpStream) as
it will return as soon as something has been read, regardless of
whether the buffer has been filled (and then errors). This implementation
will block until it has read exactly |
write_all | Same as |