Struct dat_network_protocol::handshake::Handshake [−][src]
pub struct Handshake { /* fields omitted */ }
Methods
impl Handshake
[src]
impl Handshake
pub fn new() -> Handshake
[src]
pub fn new() -> Handshake
pub fn default_instance() -> &'static Handshake
[src]
pub fn default_instance() -> &'static Handshake
pub fn clear_id(&mut self)
[src]
pub fn clear_id(&mut self)
pub fn has_id(&self) -> bool
[src]
pub fn has_id(&self) -> bool
pub fn set_id(&mut self, v: Vec<u8>)
[src]
pub fn set_id(&mut self, v: Vec<u8>)
pub fn mut_id(&mut self) -> &mut Vec<u8>
[src]
pub fn mut_id(&mut self) -> &mut Vec<u8>
pub fn take_id(&mut self) -> Vec<u8>
[src]
pub fn take_id(&mut self) -> Vec<u8>
pub fn get_id(&self) -> &[u8]
[src]
pub fn get_id(&self) -> &[u8]
pub fn clear_live(&mut self)
[src]
pub fn clear_live(&mut self)
pub fn has_live(&self) -> bool
[src]
pub fn has_live(&self) -> bool
pub fn set_live(&mut self, v: bool)
[src]
pub fn set_live(&mut self, v: bool)
pub fn get_live(&self) -> bool
[src]
pub fn get_live(&self) -> bool
pub fn clear_userData(&mut self)
[src]
pub fn clear_userData(&mut self)
pub fn has_userData(&self) -> bool
[src]
pub fn has_userData(&self) -> bool
pub fn set_userData(&mut self, v: Vec<u8>)
[src]
pub fn set_userData(&mut self, v: Vec<u8>)
pub fn mut_userData(&mut self) -> &mut Vec<u8>
[src]
pub fn mut_userData(&mut self) -> &mut Vec<u8>
pub fn take_userData(&mut self) -> Vec<u8>
[src]
pub fn take_userData(&mut self) -> Vec<u8>
pub fn get_userData(&self) -> &[u8]
[src]
pub fn get_userData(&self) -> &[u8]
pub fn clear_extensions(&mut self)
[src]
pub fn clear_extensions(&mut self)
pub fn set_extensions(&mut self, v: RepeatedField<String>)
[src]
pub fn set_extensions(&mut self, v: RepeatedField<String>)
pub fn mut_extensions(&mut self) -> &mut RepeatedField<String>
[src]
pub fn mut_extensions(&mut self) -> &mut RepeatedField<String>
pub fn take_extensions(&mut self) -> RepeatedField<String>
[src]
pub fn take_extensions(&mut self) -> RepeatedField<String>
pub fn get_extensions(&self) -> &[String]
[src]
pub fn get_extensions(&self) -> &[String]
Trait Implementations
impl PartialEq for Handshake
[src]
impl PartialEq for Handshake
fn eq(&self, other: &Handshake) -> bool
[src]
fn eq(&self, other: &Handshake) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Handshake) -> bool
[src]
fn ne(&self, other: &Handshake) -> bool
This method tests for !=
.
impl Clone for Handshake
[src]
impl Clone for Handshake
fn clone(&self) -> Handshake
[src]
fn clone(&self) -> Handshake
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Handshake
[src]
impl Default for Handshake
impl Sync for Handshake
[src]
impl Sync for Handshake
impl Message for Handshake
[src]
impl Message for Handshake
fn is_initialized(&self) -> bool
[src]
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
fn compute_size(&self) -> u32
[src]
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &Any
[src]
fn as_any(&self) -> &Any
fn as_any_mut(&mut self) -> &mut Any
[src]
fn as_any_mut(&mut self) -> &mut Any
fn into_any(self: Box<Self>) -> Box<Any>
[src]
fn into_any(self: Box<Self>) -> Box<Any>
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn type_id(&self) -> TypeId
[src]
fn type_id(&self) -> TypeId
impl MessageStatic for Handshake
[src]
impl MessageStatic for Handshake
fn new() -> Handshake
[src]
fn new() -> Handshake
fn descriptor_static(_: Option<Handshake>) -> &'static MessageDescriptor
[src]
fn descriptor_static(_: Option<Handshake>) -> &'static MessageDescriptor
impl Clear for Handshake
[src]
impl Clear for Handshake
impl Debug for Handshake
[src]
impl Debug for Handshake
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ProtobufValue for Handshake
[src]
impl ProtobufValue for Handshake
fn as_ref(&self) -> ProtobufValueRef
[src]
fn as_ref(&self) -> ProtobufValueRef
fn as_any(&self) -> &(Any + 'static)
[src]
fn as_any(&self) -> &(Any + 'static)
fn is_non_zero(&self) -> bool
[src]
fn is_non_zero(&self) -> bool
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>