[−][src]Struct mumble_protocol::control::msgs::UserStats
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl UserStats
[src]
pub fn new() -> UserStats
[src]
pub fn get_session(&self) -> u32
[src]
pub fn clear_session(&mut self)
[src]
pub fn has_session(&self) -> bool
[src]
pub fn set_session(&mut self, v: u32)
[src]
pub fn get_stats_only(&self) -> bool
[src]
pub fn clear_stats_only(&mut self)
[src]
pub fn has_stats_only(&self) -> bool
[src]
pub fn set_stats_only(&mut self, v: bool)
[src]
pub fn get_certificates(&self) -> &[Vec<u8>]
[src]
pub fn clear_certificates(&mut self)
[src]
pub fn set_certificates(&mut self, v: RepeatedField<Vec<u8>>)
[src]
pub fn mut_certificates(&mut self) -> &mut RepeatedField<Vec<u8>>
[src]
pub fn take_certificates(&mut self) -> RepeatedField<Vec<u8>>
[src]
pub fn get_from_client(&self) -> &UserStats_Stats
[src]
pub fn clear_from_client(&mut self)
[src]
pub fn has_from_client(&self) -> bool
[src]
pub fn set_from_client(&mut self, v: UserStats_Stats)
[src]
pub fn mut_from_client(&mut self) -> &mut UserStats_Stats
[src]
pub fn take_from_client(&mut self) -> UserStats_Stats
[src]
pub fn get_from_server(&self) -> &UserStats_Stats
[src]
pub fn clear_from_server(&mut self)
[src]
pub fn has_from_server(&self) -> bool
[src]
pub fn set_from_server(&mut self, v: UserStats_Stats)
[src]
pub fn mut_from_server(&mut self) -> &mut UserStats_Stats
[src]
pub fn take_from_server(&mut self) -> UserStats_Stats
[src]
pub fn get_udp_packets(&self) -> u32
[src]
pub fn clear_udp_packets(&mut self)
[src]
pub fn has_udp_packets(&self) -> bool
[src]
pub fn set_udp_packets(&mut self, v: u32)
[src]
pub fn get_tcp_packets(&self) -> u32
[src]
pub fn clear_tcp_packets(&mut self)
[src]
pub fn has_tcp_packets(&self) -> bool
[src]
pub fn set_tcp_packets(&mut self, v: u32)
[src]
pub fn get_udp_ping_avg(&self) -> f32
[src]
pub fn clear_udp_ping_avg(&mut self)
[src]
pub fn has_udp_ping_avg(&self) -> bool
[src]
pub fn set_udp_ping_avg(&mut self, v: f32)
[src]
pub fn get_udp_ping_var(&self) -> f32
[src]
pub fn clear_udp_ping_var(&mut self)
[src]
pub fn has_udp_ping_var(&self) -> bool
[src]
pub fn set_udp_ping_var(&mut self, v: f32)
[src]
pub fn get_tcp_ping_avg(&self) -> f32
[src]
pub fn clear_tcp_ping_avg(&mut self)
[src]
pub fn has_tcp_ping_avg(&self) -> bool
[src]
pub fn set_tcp_ping_avg(&mut self, v: f32)
[src]
pub fn get_tcp_ping_var(&self) -> f32
[src]
pub fn clear_tcp_ping_var(&mut self)
[src]
pub fn has_tcp_ping_var(&self) -> bool
[src]
pub fn set_tcp_ping_var(&mut self, v: f32)
[src]
pub fn get_version(&self) -> &Version
[src]
pub fn clear_version(&mut self)
[src]
pub fn has_version(&self) -> bool
[src]
pub fn set_version(&mut self, v: Version)
[src]
pub fn mut_version(&mut self) -> &mut Version
[src]
pub fn take_version(&mut self) -> Version
[src]
pub fn get_celt_versions(&self) -> &[i32]
[src]
pub fn clear_celt_versions(&mut self)
[src]
pub fn set_celt_versions(&mut self, v: Vec<i32>)
[src]
pub fn mut_celt_versions(&mut self) -> &mut Vec<i32>
[src]
pub fn take_celt_versions(&mut self) -> Vec<i32>
[src]
pub fn get_address(&self) -> &[u8]
[src]
pub fn clear_address(&mut self)
[src]
pub fn has_address(&self) -> bool
[src]
pub fn set_address(&mut self, v: Vec<u8>)
[src]
pub fn mut_address(&mut self) -> &mut Vec<u8>
[src]
pub fn take_address(&mut self) -> Vec<u8>
[src]
pub fn get_bandwidth(&self) -> u32
[src]
pub fn clear_bandwidth(&mut self)
[src]
pub fn has_bandwidth(&self) -> bool
[src]
pub fn set_bandwidth(&mut self, v: u32)
[src]
pub fn get_onlinesecs(&self) -> u32
[src]
pub fn clear_onlinesecs(&mut self)
[src]
pub fn has_onlinesecs(&self) -> bool
[src]
pub fn set_onlinesecs(&mut self, v: u32)
[src]
pub fn get_idlesecs(&self) -> u32
[src]
pub fn clear_idlesecs(&mut self)
[src]
pub fn has_idlesecs(&self) -> bool
[src]
pub fn set_idlesecs(&mut self, v: u32)
[src]
pub fn get_strong_certificate(&self) -> bool
[src]
pub fn clear_strong_certificate(&mut self)
[src]
pub fn has_strong_certificate(&self) -> bool
[src]
pub fn set_strong_certificate(&mut self, v: bool)
[src]
pub fn get_opus(&self) -> bool
[src]
pub fn clear_opus(&mut self)
[src]
pub fn has_opus(&self) -> bool
[src]
pub fn set_opus(&mut self, v: bool)
[src]
Trait Implementations
impl Clear for UserStats
[src]
impl Clone for UserStats
[src]
impl Debug for UserStats
[src]
impl Default for UserStats
[src]
impl<'a> Default for &'a UserStats
[src]
impl<Dst: VoicePacketDst> From<UserStats> for ControlPacket<Dst>
[src]
impl From<UserStats> for RawControlPacket
[src]
impl Message for UserStats
[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 as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> UserStats
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static UserStats
[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 dyn 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 dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn type_id(&self) -> TypeId
[src]
impl PartialEq<UserStats> for UserStats
[src]
impl ProtobufValue for UserStats
[src]
fn as_ref(&self) -> ReflectValueRef<'_>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn is_non_zero(&self) -> bool
[src]
fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
impl StructuralPartialEq for UserStats
[src]
impl<'_> TryFrom<&'_ [u8]> for UserStats
[src]
type Error = ProtobufError
The type returned in the event of a conversion error.
fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>
[src]
impl TryFrom<Bytes> for UserStats
[src]
type Error = ProtobufError
The type returned in the event of a conversion error.
fn try_from(bytes: Bytes) -> Result<Self, Self::Error>
[src]
impl TryFrom<RawControlPacket> for UserStats
[src]
type Error = ProtobufError
The type returned in the event of a conversion error.
fn try_from(packet: RawControlPacket) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for UserStats
impl Send for UserStats
impl Sync for UserStats
impl Unpin for UserStats
impl UnwindSafe for UserStats
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,