Trait protobuf::core::Message [] [src]

pub trait Message: Debug + Clear + Any + Send + Sync {
    fn descriptor(&self) -> &'static MessageDescriptor;
fn is_initialized(&self) -> bool;
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>;
fn write_to_with_cached_sizes(
        &self,
        os: &mut CodedOutputStream
    ) -> ProtobufResult<()>;
fn compute_size(&self) -> u32;
fn get_cached_size(&self) -> u32;
fn get_unknown_fields<'s>(&'s self) -> &'s UnknownFields;
fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut UnknownFields;
fn as_any(&self) -> &Any; fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()> { ... }
fn write_length_delimited_to(
        &self,
        os: &mut CodedOutputStream
    ) -> ProtobufResult<()> { ... }
fn write_length_delimited_to_vec(
        &self,
        vec: &mut Vec<u8>
    ) -> ProtobufResult<()> { ... }
fn merge_from_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()> { ... }
fn check_initialized(&self) -> ProtobufResult<()> { ... }
fn write_to_writer(&self, w: &mut Write) -> ProtobufResult<()> { ... }
fn write_to_vec(&self, v: &mut Vec<u8>) -> ProtobufResult<()> { ... }
fn write_to_bytes(&self) -> ProtobufResult<Vec<u8>> { ... }
fn write_length_delimited_to_writer(
        &self,
        w: &mut Write
    ) -> ProtobufResult<()> { ... }
fn write_length_delimited_to_bytes(&self) -> ProtobufResult<Vec<u8>> { ... }
fn type_id(&self) -> TypeId { ... }
fn as_any_mut(&mut self) -> &mut Any { ... }
fn into_any(self: Box<Self>) -> Box<Any> { ... } }

Required Methods

Provided Methods

Implementors