npsd 0.2.0

Network payload serializer / deserializer framework
Documentation
1
2
3
4
5
6
7
use super::PayloadInfo;

impl<T: PayloadInfo> PayloadInfo for *mut T {
    const HASH: u64 = T::HASH;
    const TYPE: &'static str = T::TYPE;
    const SIZE: Option<usize> = T::SIZE;
}