Trait exocore_protos::prost::Message[][src]

pub trait Message: Debug + Send + Sync {
    fn encoded_len(&self) -> usize;
fn clear(&mut self); fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
    where
        B: BufMut
, { ... }
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
    where
        B: BufMut
, { ... }
fn decode<B>(buf: B) -> Result<Self, DecodeError>
    where
        Self: Default,
        B: Buf
, { ... }
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
    where
        Self: Default,
        B: Buf
, { ... }
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
    where
        B: Buf
, { ... }
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
    where
        B: Buf
, { ... } }
Expand description

A Protocol Buffers message.

Required methods

fn encoded_len(&self) -> usize[src]

Expand description

Returns the encoded length of the message without a length delimiter.

fn clear(&mut self)[src]

Expand description

Clears the message, resetting all fields to their default.

Loading content...

Provided methods

fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
    B: BufMut
[src]

Expand description

Encodes the message to a buffer.

An error will be returned if the buffer does not have sufficient capacity.

fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
    B: BufMut
[src]

Expand description

Encodes the message with a length-delimiter to a buffer.

An error will be returned if the buffer does not have sufficient capacity.

fn decode<B>(buf: B) -> Result<Self, DecodeError> where
    Self: Default,
    B: Buf
[src]

Expand description

Decodes an instance of the message from a buffer.

The entire buffer will be consumed.

fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
    Self: Default,
    B: Buf
[src]

Expand description

Decodes a length-delimited instance of the message from the buffer.

fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
    B: Buf
[src]

Expand description

Decodes an instance of the message from a buffer, and merges it into self.

The entire buffer will be consumed.

fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
    B: Buf
[src]

Expand description

Decodes a length-delimited instance of the message from buffer, and merges it into self.

Loading content...

Implementations on Foreign Types

impl Message for u32[src]

google.protobuf.UInt32Value

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for f64[src]

google.protobuf.DoubleValue

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl<M> Message for Box<M, Global> where
    M: Message
[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for u64[src]

google.protobuf.UInt64Value

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for String[src]

google.protobuf.StringValue

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for ()[src]

google.protobuf.Empty

pub fn encode_raw<B>(&self, _buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for i32[src]

google.protobuf.Int32Value

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Vec<u8, Global>[src]

google.protobuf.BytesValue

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Bytes[src]

google.protobuf.BytesValue

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for bool[src]

google.protobuf.BoolValue

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for i64[src]

google.protobuf.Int64Value

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for f32[src]

google.protobuf.FloatValue

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for ServiceOptions[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Type[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for MethodDescriptorProto[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for MessageOptions[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for DescriptorProto[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for GeneratedCodeInfo[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Field[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Duration[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for MethodOptions[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for CodeGeneratorResponse[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for EnumValue[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for NamePart[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for EnumOptions[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for FileDescriptorProto[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for UninterpretedOption[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for File[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for SourceCodeInfo[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Api[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for ListValue[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Method[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for FileDescriptorSet[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Option[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Annotation[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Value[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for FieldDescriptorProto[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for FieldOptions[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Struct[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for EnumValueOptions[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Location[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Version[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for FieldMask[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for ServiceDescriptorProto[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for EnumDescriptorProto[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for EnumValueDescriptorProto[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for ExtensionRangeOptions[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for OneofOptions[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for SourceContext[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for OneofDescriptorProto[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for CodeGeneratorRequest[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for EnumReservedRange[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Enum[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Mixin[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for FileOptions[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for ExtensionRange[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for ReservedRange[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

Loading content...

Implementors

impl Message for InMessage[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for Manifest[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for ManifestModule[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for ManifestSchema[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for OutMessage[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for AuthToken[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for AuthTokenData[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for CellApplicationConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for CellConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for CellNodeConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for ChainConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for EntityGarbageCollectorConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for EntityIndexConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for LocalNodeConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for MutationIndexConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for NodeAddresses[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for NodeCellConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for NodeConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for NodeStoreConfig[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for AllPredicate[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for DeleteEntityMutation[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for DeleteOperationsMutation[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for DeleteTraitMutation[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for Entity[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for EntityMutation[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for EntityQuery[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for EntityResult[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for EntityResults[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for IdsPredicate[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for MatchPredicate[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for MutationRequest[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for MutationResult[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for OperationsPredicate[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for Ordering[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for OrderingValue[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for Paging[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for Projection[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for PutTraitMutation[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for Reference[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for ReferencePredicate[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for TestMutation[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for TestPredicate[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for Trait[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for TraitFieldPredicate[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for TraitFieldReferencePredicate[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for TraitPredicate[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for TraitQuery[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for TestMessage2[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for TestMessage[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for TestStruct[src]

fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

fn encoded_len(&self) -> usize[src]

fn clear(&mut self)[src]

impl Message for Any[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

impl Message for Timestamp[src]

pub fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge_field<B>(
    &mut self,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

pub fn clear(&mut self)[src]

Loading content...