pub struct BinLi {
pub state_li: Vec<i32>,
pub bin_li: Vec<Vec<u8>>,
}Fields§
§state_li: Vec<i32>§bin_li: Vec<Vec<u8>>Trait Implementations§
Source§impl Message for BinLi
impl Message for BinLi
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 BinLi
impl Ord for BinLi
Source§impl PartialOrd for BinLi
impl PartialOrd for BinLi
Source§impl Reflection for BinLi
impl Reflection for BinLi
impl Eq for BinLi
impl StructuralPartialEq for BinLi
Auto Trait Implementations§
impl Freeze for BinLi
impl RefUnwindSafe for BinLi
impl Send for BinLi
impl Sync for BinLi
impl Unpin for BinLi
impl UnwindSafe for BinLi
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