grpc 0.6.2

Rust implementation of gRPC
Documentation
1
2
3
4
5
6
7
8
use bytes::Bytes;

use result::Result;

pub trait Marshaller<M> {
    fn write(&self, m: &M) -> Result<Vec<u8>>;
    fn read(&self, bytes: Bytes) -> Result<M>;
}