Struct otopr::Message [−][src]
#[repr(transparent)]pub struct Message<T>(_);
Implementations
Trait Implementations
type Wire = LengthDelimitedWire
type Wire = LengthDelimitedWire
returns the size in bytes when encoded, including the field number.
The entry point to encoding Encodable
s in a message. Read more
unsafe fn encode_field_precomputed(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: &[u8]
)
unsafe fn encode_field_precomputed(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: &[u8]
)
Encodes a field using precomputed bytes for the field number and the wire type varint. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Message<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Message<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more