async-codec-lite 0.0.2

Adaptors from AsyncRead/AsyncWrite to Stream/Sink using futures.
Documentation
1
2
3
4
5
6
7
8
#[derive(Debug, thiserror::Error)]
pub enum Error<C: std::error::Error + 'static> {
    #[error("codec error: {0}")]
    Codec(#[source] C),

    #[error("I/O error: {0}")]
    Io(#[from] std::io::Error),
}