pub struct CodeLi {
pub li: Vec<u32>,
}Fields§
§li: Vec<u32>Trait Implementations§
Source§impl Message for CodeLi
impl Message for CodeLi
Source§fn descriptor(&self) -> Option<MessageDescriptor>
fn descriptor(&self) -> Option<MessageDescriptor>
Returns the
MessageDescriptor for this message, if this is not a primitive type.Source§fn compute_size(&self) -> usize
fn compute_size(&self) -> usize
Computes the number of bytes a message will take when serialized. This does not
include number of bytes required for tag+wire_format or the bytes used to represent
length of the message in case of LengthDelimited messages/types.
Source§fn serialize<W: PbBufferWriter>(&self, w: &mut W) -> Result<()>
fn serialize<W: PbBufferWriter>(&self, w: &mut W) -> Result<()>
Serializes the message to the writer.
Source§fn deserialize<B: PbBufferReader>(&mut self, buf: &mut B) -> Result<()>
fn deserialize<B: PbBufferReader>(&mut self, buf: &mut B) -> Result<()>
Reads the message from the blob reader, copying as necessary.
Source§fn compute_grpc_slices_size(&self) -> usize
fn compute_grpc_slices_size(&self) -> usize
Computes the number of bytes in all grpc slices.
This information is used to optimize memory allocations in zero-copy encoding.
Source§impl Ord for CodeLi
impl Ord for CodeLi
Source§impl PartialOrd for CodeLi
impl PartialOrd for CodeLi
Source§impl Reflection for CodeLi
impl Reflection for CodeLi
impl Eq for CodeLi
impl StructuralPartialEq for CodeLi
Auto Trait Implementations§
impl Freeze for CodeLi
impl RefUnwindSafe for CodeLi
impl Send for CodeLi
impl Sync for CodeLi
impl Unpin for CodeLi
impl UnwindSafe for CodeLi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more