Struct gns::GnsConnectionInfo
source · [−]pub struct GnsConnectionInfo(_);
Implementations
sourceimpl GnsConnectionInfo
impl GnsConnectionInfo
pub fn state(&self) -> ESteamNetworkingConnectionState
pub fn end_reason(&self) -> u32
pub fn remote_address(&self) -> Ipv6Addr
pub fn remote_port(&self) -> u16
Trait Implementations
sourceimpl Clone for GnsConnectionInfo
impl Clone for GnsConnectionInfo
sourcefn clone(&self) -> GnsConnectionInfo
fn clone(&self) -> GnsConnectionInfo
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 Default for GnsConnectionInfo
impl Default for GnsConnectionInfo
sourcefn default() -> GnsConnectionInfo
fn default() -> GnsConnectionInfo
Returns the “default value” for a type. Read more
impl Copy for GnsConnectionInfo
Auto Trait Implementations
impl RefUnwindSafe for GnsConnectionInfo
impl Send for GnsConnectionInfo
impl Sync for GnsConnectionInfo
impl Unpin for GnsConnectionInfo
impl UnwindSafe for GnsConnectionInfo
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