pub struct GnsConnectionRealTimeStatus(/* private fields */);Implementations§
Source§impl 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
Sourcepub fn max_jitter_usec(&self) -> Option<i32>
pub fn max_jitter_usec(&self) -> Option<i32>
Returns the highest packet jitter seen since the last time you read this value. Reading it clears the high water mark.
Returns None if no jitter data is available, which happens when the
underlying value is negative or the connection type does not measure
jitter.
Trait Implementations§
Source§impl Clone for GnsConnectionRealTimeStatus
impl Clone for GnsConnectionRealTimeStatus
Source§fn clone(&self) -> GnsConnectionRealTimeStatus
fn clone(&self) -> GnsConnectionRealTimeStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GnsConnectionRealTimeStatus
Source§impl Debug for GnsConnectionRealTimeStatus
impl Debug for GnsConnectionRealTimeStatus
Source§impl Default for GnsConnectionRealTimeStatus
impl Default for GnsConnectionRealTimeStatus
Source§fn default() -> GnsConnectionRealTimeStatus
fn default() -> GnsConnectionRealTimeStatus
Returns the “default value” for a type. Read more
Source§impl PartialOrd for GnsConnectionRealTimeStatus
impl PartialOrd for GnsConnectionRealTimeStatus
impl StructuralPartialEq for GnsConnectionRealTimeStatus
Auto Trait Implementations§
impl Freeze for GnsConnectionRealTimeStatus
impl RefUnwindSafe for GnsConnectionRealTimeStatus
impl Send for GnsConnectionRealTimeStatus
impl Sync for GnsConnectionRealTimeStatus
impl Unpin for GnsConnectionRealTimeStatus
impl UnsafeUnpin for GnsConnectionRealTimeStatus
impl UnwindSafe for GnsConnectionRealTimeStatus
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