pub struct CMsgMulti { /* private fields */ }Implementations§
Source§impl CMsgMulti
impl CMsgMulti
pub fn new() -> CMsgMulti
pub fn default_instance() -> &'static CMsgMulti
pub fn clear_size_unzipped(&mut self)
pub fn has_size_unzipped(&self) -> bool
pub fn set_size_unzipped(&mut self, v: u32)
pub fn get_size_unzipped<'a>(&self) -> u32
pub fn clear_message_body(&mut self)
pub fn has_message_body(&self) -> bool
pub fn set_message_body(&mut self, v: Vec<u8>)
pub fn mut_message_body<'a>(&'a mut self) -> &'a mut Vec<u8> ⓘ
pub fn take_message_body(&mut self) -> Vec<u8> ⓘ
pub fn get_message_body<'a>(&'a self) -> &'a [u8] ⓘ
Trait Implementations§
Source§impl Message for CMsgMulti
impl Message for CMsgMulti
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_>, ) -> ProtobufResult<()>
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 type_id(&self) -> TypeId
fn as_any(&self) -> &dyn Any
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_>, ) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec( &self, vec: &mut Vec<u8>, ) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer( &self, w: &mut dyn Write, ) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn into_any(self: Box<Self>) -> Box<dyn Any>
Source§impl MessageStatic for CMsgMulti
impl MessageStatic for CMsgMulti
fn new() -> CMsgMulti
fn descriptor_static(_: Option<CMsgMulti>) -> &'static MessageDescriptor
impl Sync for CMsgMulti
Auto Trait Implementations§
impl !Freeze for CMsgMulti
impl !RefUnwindSafe for CMsgMulti
impl Send for CMsgMulti
impl Unpin for CMsgMulti
impl UnwindSafe for CMsgMulti
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