tokio-codec 0.2.0-alpha.6

Utilities for encoding and decoding frames.
Documentation
1
2
3
4
5
6
7
/// A macro to reduce some of the boilerplate for projecting from
/// `Pin<&mut T>` to `Pin<&mut T.field>`
macro_rules! pin {
    ($e:expr) => {
        std::pin::Pin::new(&mut $e)
    };
}