Trait quick_protobuf::message::MessageRead[][src]

pub trait MessageRead<'a>: Sized {
    fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>;
}

A trait to handle deserialization from protocol buffers.

Required Methods

Constructs an instance of Self by reading from the given bytes via the given reader.

Implementors