Struct comm::messages::protobufs::Envelope
[−]
[src]
pub struct Envelope { /* fields omitted */ }
Methods
impl Envelope
[src]
pub fn new() -> Envelope
[src]
pub fn default_instance() -> &'static Envelope
[src]
pub fn clear_message_type(&mut self)
[src]
pub fn has_message_type(&self) -> bool
[src]
pub fn set_message_type(&mut self, v: Envelope_Type)
[src]
pub fn get_message_type(&self) -> Envelope_Type
[src]
pub fn clear_transaction_id(&mut self)
[src]
pub fn has_transaction_id(&self) -> bool
[src]
pub fn set_transaction_id(&mut self, v: u32)
[src]
pub fn get_transaction_id(&self) -> u32
[src]
pub fn clear_find_node_query(&mut self)
[src]
pub fn has_find_node_query(&self) -> bool
[src]
pub fn set_find_node_query(&mut self, v: FindNodeQuery)
[src]
pub fn mut_find_node_query(&mut self) -> &mut FindNodeQuery
[src]
pub fn take_find_node_query(&mut self) -> FindNodeQuery
[src]
pub fn get_find_node_query(&self) -> &FindNodeQuery
[src]
pub fn clear_find_node_response(&mut self)
[src]
pub fn has_find_node_response(&self) -> bool
[src]
pub fn set_find_node_response(&mut self, v: FindNodeResponse)
[src]
pub fn mut_find_node_response(&mut self) -> &mut FindNodeResponse
[src]
pub fn take_find_node_response(&mut self) -> FindNodeResponse
[src]
pub fn get_find_node_response(&self) -> &FindNodeResponse
[src]
pub fn clear_ping_query(&mut self)
[src]
pub fn has_ping_query(&self) -> bool
[src]
pub fn set_ping_query(&mut self, v: PingQuery)
[src]
pub fn mut_ping_query(&mut self) -> &mut PingQuery
[src]
pub fn take_ping_query(&mut self) -> PingQuery
[src]
pub fn get_ping_query(&self) -> &PingQuery
[src]
pub fn clear_ping_response(&mut self)
[src]
pub fn has_ping_response(&self) -> bool
[src]
pub fn set_ping_response(&mut self, v: PingResponse)
[src]
pub fn mut_ping_response(&mut self) -> &mut PingResponse
[src]
pub fn take_ping_response(&mut self) -> PingResponse
[src]
pub fn get_ping_response(&self) -> &PingResponse
[src]
pub fn clear_packet_query(&mut self)
[src]
pub fn has_packet_query(&self) -> bool
[src]
pub fn set_packet_query(&mut self, v: PacketQuery)
[src]
pub fn mut_packet_query(&mut self) -> &mut PacketQuery
[src]
pub fn take_packet_query(&mut self) -> PacketQuery
[src]
pub fn get_packet_query(&self) -> &PacketQuery
[src]
pub fn clear_packet_response(&mut self)
[src]
pub fn has_packet_response(&self) -> bool
[src]
pub fn set_packet_response(&mut self, v: PacketResponse)
[src]
pub fn mut_packet_response(&mut self) -> &mut PacketResponse
[src]
pub fn take_packet_response(&mut self) -> PacketResponse
[src]
pub fn get_packet_response(&self) -> &PacketResponse
[src]
Trait Implementations
impl Clone for Envelope
[src]
fn clone(&self) -> Envelope
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Envelope
[src]
impl Sync for Envelope
[src]
impl Message for Envelope
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn type_id(&self) -> TypeId
[src]
fn as_any(&self) -> &Any
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn as_any_mut(&mut self) -> &mut (Any + 'static)
[src]
fn into_any(self: Box<Self>) -> Box<Any + 'static>
[src]
impl MessageStatic for Envelope
[src]
fn new() -> Envelope
[src]
fn descriptor_static(_: Option<Envelope>) -> &'static MessageDescriptor
[src]
impl Clear for Envelope
[src]
impl PartialEq for Envelope
[src]
fn eq(&self, other: &Envelope) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.