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
Trait Implementations§
Source§impl Clone for GnsConnectionRealTimeStatus
impl Clone for GnsConnectionRealTimeStatus
Source§fn clone(&self) -> GnsConnectionRealTimeStatus
fn clone(&self) -> GnsConnectionRealTimeStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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 Copy 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more