Struct steamworks_sys::P2PSessionState_t
source · #[repr(C)]pub struct P2PSessionState_t {
pub m_bConnectionActive: uint8,
pub m_bConnecting: uint8,
pub m_eP2PSessionError: uint8,
pub m_bUsingRelay: uint8,
pub m_nBytesQueuedForSend: int32,
pub m_nPacketsQueuedForSend: int32,
pub m_nRemoteIP: uint32,
pub m_nRemotePort: uint16,
}
Fields§
§m_bConnectionActive: uint8
§m_bConnecting: uint8
§m_eP2PSessionError: uint8
§m_bUsingRelay: uint8
§m_nBytesQueuedForSend: int32
§m_nPacketsQueuedForSend: int32
§m_nRemoteIP: uint32
§m_nRemotePort: uint16
Trait Implementations§
source§impl Clone for P2PSessionState_t
impl Clone for P2PSessionState_t
source§fn clone(&self) -> P2PSessionState_t
fn clone(&self) -> P2PSessionState_t
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 P2PSessionState_t
impl Debug for P2PSessionState_t
impl Copy for P2PSessionState_t
Auto Trait Implementations§
impl RefUnwindSafe for P2PSessionState_t
impl Send for P2PSessionState_t
impl Sync for P2PSessionState_t
impl Unpin for P2PSessionState_t
impl UnwindSafe for P2PSessionState_t
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