Crate tokio_netstring_trait

Source
Expand description

§NOTICE

This is the very first release and my first project in rust. Feedback is appreciated.

Traits§

AsyncNetstringRead
The AsyncNetstringRead trait allows you to read one netstring at a time from any stream that has AsyncRead implemented. No implementation is thread-safe and multiple simultaneous reads can corrupt the message stream irreparably.
AsyncNetstringWrite
The NetstringWriter trait allows to write a slice of bytes as a netstring to any stream that implements AsyncWrite