Struct gns::GnsConnectionRealTimeStatus
source · [−]pub struct GnsConnectionRealTimeStatus(_);
Implementations
sourceimpl GnsConnectionRealTimeStatus
impl GnsConnectionRealTimeStatus
pub fn state(&self) -> ESteamNetworkingConnectionState
pub fn ping(&self) -> u32
pub fn quality_local(&self) -> f32
pub fn quality_remote(&self) -> f32
pub fn out_packets_per_sec(&self) -> f32
pub fn out_bytes_per_sec(&self) -> f32
pub fn in_packets_per_sec(&self) -> f32
pub fn in_bytes_per_sec(&self) -> f32
pub fn send_rate_bytes_per_sec(&self) -> u32
pub fn pending_bytes_unreliable(&self) -> u32
pub fn pending_bytes_reliable(&self) -> u32
pub fn bytes_sent_unacked_reliable(&self) -> u32
pub fn approximated_queue_time(&self) -> Duration
Trait Implementations
sourceimpl Clone for GnsConnectionRealTimeStatus
impl Clone for GnsConnectionRealTimeStatus
sourcefn clone(&self) -> GnsConnectionRealTimeStatus
fn clone(&self) -> GnsConnectionRealTimeStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GnsConnectionRealTimeStatus
impl Debug for GnsConnectionRealTimeStatus
sourceimpl Default for GnsConnectionRealTimeStatus
impl Default for GnsConnectionRealTimeStatus
sourcefn default() -> GnsConnectionRealTimeStatus
fn default() -> GnsConnectionRealTimeStatus
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GnsConnectionRealTimeStatus> for GnsConnectionRealTimeStatus
impl PartialEq<GnsConnectionRealTimeStatus> for GnsConnectionRealTimeStatus
sourcefn eq(&self, other: &GnsConnectionRealTimeStatus) -> bool
fn eq(&self, other: &GnsConnectionRealTimeStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GnsConnectionRealTimeStatus) -> bool
fn ne(&self, other: &GnsConnectionRealTimeStatus) -> bool
This method tests for !=
.
sourceimpl PartialOrd<GnsConnectionRealTimeStatus> for GnsConnectionRealTimeStatus
impl PartialOrd<GnsConnectionRealTimeStatus> for GnsConnectionRealTimeStatus
sourcefn partial_cmp(&self, other: &GnsConnectionRealTimeStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &GnsConnectionRealTimeStatus) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for GnsConnectionRealTimeStatus
impl StructuralPartialEq for GnsConnectionRealTimeStatus
Auto Trait Implementations
impl RefUnwindSafe for GnsConnectionRealTimeStatus
impl Send for GnsConnectionRealTimeStatus
impl Sync for GnsConnectionRealTimeStatus
impl Unpin for GnsConnectionRealTimeStatus
impl UnwindSafe for GnsConnectionRealTimeStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more