Crate geph4_aioutils

Source

Traits§

AsyncReadWrite

Functions§

connify
copy_with_stats
Copies an AsyncRead to an AsyncWrite, with a callback for every write.
copy_with_stats_async
Copies an AsyncRead to an AsyncWrite, with an async callback for every write.
read_pascalish
Reads a bincode-deserializable value with a 16bbe length
recv_chan_many
Reads from an async_channel::Receiver, but returns a vector of all available items instead of just one to save on context-switching.
resolve
resolve_inner
to_ioerror
try_race
Race two different futures, returning the first non-Err, or an Err if both branches error.
write_pascalish
Writes a bincode-serializable value with a 16bbe length

Type Aliases§

ConnLike