Expand description
Object that describes a “location” on the Internet with sufficient detail that we can reasonably estimate an upper bound on the ping between the two hosts, even if a direct route between the hosts is not possible, and the connection must be routed through the Steam Datagram Relay network. This does not contain any information that identifies the host. Indeed, if two hosts are in the same building or otherwise have nearly identical networking characteristics, then it’s valid to use the same location object for both of them.
NOTE: This object should only be used in the same process! Do not serialize it, send it over the wire, or persist it in a file or database! If you need to do that, convert it to a string representation using the methods in ISteamNetworkingUtils().
Fields
m_data: [uint8; 512]
Trait Implementations
sourceimpl Clone for SteamNetworkPingLocation_t
impl Clone for SteamNetworkPingLocation_t
sourcefn clone(&self) -> SteamNetworkPingLocation_t
fn clone(&self) -> SteamNetworkPingLocation_t
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 SteamNetworkPingLocation_t
impl Debug for SteamNetworkPingLocation_t
impl Copy for SteamNetworkPingLocation_t
Auto Trait Implementations
impl RefUnwindSafe for SteamNetworkPingLocation_t
impl Send for SteamNetworkPingLocation_t
impl Sync for SteamNetworkPingLocation_t
impl Unpin for SteamNetworkPingLocation_t
impl UnwindSafe for SteamNetworkPingLocation_t
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more