[go: up one dir, main page]

protobuf 0.0.3

Rust implementation of Google protocol buffers
1
2
3
4
5
6
7
8
9
use std::io::IoError;

pub type ProtobufResult<T> = Result<T, ProtobufError>;

#[deriving(Show,Eq,PartialEq)]
pub enum ProtobufError {
    IoError(IoError),
    WireError(String),
}