pub struct CMsgClientP2PConnectionInfo { /* private fields */ }Implementations§
Source§impl CMsgClientP2PConnectionInfo
impl CMsgClientP2PConnectionInfo
pub fn new() -> CMsgClientP2PConnectionInfo
pub fn default_instance() -> &'static CMsgClientP2PConnectionInfo
pub fn clear_steam_id_dest(&mut self)
pub fn has_steam_id_dest(&self) -> bool
pub fn set_steam_id_dest(&mut self, v: u64)
pub fn get_steam_id_dest<'a>(&self) -> u64
pub fn clear_steam_id_src(&mut self)
pub fn has_steam_id_src(&self) -> bool
pub fn set_steam_id_src(&mut self, v: u64)
pub fn get_steam_id_src<'a>(&self) -> u64
pub fn clear_app_id(&mut self)
pub fn has_app_id(&self) -> bool
pub fn set_app_id(&mut self, v: u32)
pub fn get_app_id<'a>(&self) -> u32
pub fn clear_candidate(&mut self)
pub fn has_candidate(&self) -> bool
pub fn set_candidate(&mut self, v: Vec<u8>)
pub fn mut_candidate<'a>(&'a mut self) -> &'a mut Vec<u8> ⓘ
pub fn take_candidate(&mut self) -> Vec<u8> ⓘ
pub fn get_candidate<'a>(&'a self) -> &'a [u8] ⓘ
Trait Implementations§
Source§impl Clone for CMsgClientP2PConnectionInfo
impl Clone for CMsgClientP2PConnectionInfo
Source§fn clone(&self) -> CMsgClientP2PConnectionInfo
fn clone(&self) -> CMsgClientP2PConnectionInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CMsgClientP2PConnectionInfo
impl Debug for CMsgClientP2PConnectionInfo
Source§impl Default for CMsgClientP2PConnectionInfo
impl Default for CMsgClientP2PConnectionInfo
Source§fn default() -> CMsgClientP2PConnectionInfo
fn default() -> CMsgClientP2PConnectionInfo
Returns the “default value” for a type. Read more
Source§impl Message for CMsgClientP2PConnectionInfo
impl Message for CMsgClientP2PConnectionInfo
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 CMsgClientP2PConnectionInfo
impl MessageStatic for CMsgClientP2PConnectionInfo
fn new() -> CMsgClientP2PConnectionInfo
fn descriptor_static( _: Option<CMsgClientP2PConnectionInfo>, ) -> &'static MessageDescriptor
impl Sync for CMsgClientP2PConnectionInfo
Auto Trait Implementations§
impl !Freeze for CMsgClientP2PConnectionInfo
impl !RefUnwindSafe for CMsgClientP2PConnectionInfo
impl Send for CMsgClientP2PConnectionInfo
impl Unpin for CMsgClientP2PConnectionInfo
impl UnwindSafe for CMsgClientP2PConnectionInfo
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