#[repr(C)]pub struct _tagEOS_P2P_OnPeerConnectionEstablishedInfo {
pub ClientData: *mut c_void,
pub LocalUserId: EOS_ProductUserId,
pub RemoteUserId: EOS_ProductUserId,
pub SocketId: *const EOS_P2P_SocketId,
pub ConnectionType: EOS_EConnectionEstablishedType,
pub NetworkType: EOS_ENetworkConnectionType,
}Expand description
Structure containing information about a connection being established
Fields§
§ClientData: *mut c_voidClient-specified data passed into EOS_P2P_AddNotifyPeerConnectionEstablished
LocalUserId: EOS_ProductUserIdThe Product User ID of the local user who is being notified of a connection being established
RemoteUserId: EOS_ProductUserIdThe Product User ID of the remote user who this connection was with
SocketId: *const EOS_P2P_SocketIdThe socket ID of the connection being established
ConnectionType: EOS_EConnectionEstablishedTypeInformation if this is a new connection or reconnection
NetworkType: EOS_ENetworkConnectionTypeWhat type of network connection is being used for this connection
Trait Implementations§
Source§impl Clone for _tagEOS_P2P_OnPeerConnectionEstablishedInfo
impl Clone for _tagEOS_P2P_OnPeerConnectionEstablishedInfo
Source§fn clone(&self) -> _tagEOS_P2P_OnPeerConnectionEstablishedInfo
fn clone(&self) -> _tagEOS_P2P_OnPeerConnectionEstablishedInfo
Returns a duplicate 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 moreimpl Copy for _tagEOS_P2P_OnPeerConnectionEstablishedInfo
Auto Trait Implementations§
impl Freeze for _tagEOS_P2P_OnPeerConnectionEstablishedInfo
impl RefUnwindSafe for _tagEOS_P2P_OnPeerConnectionEstablishedInfo
impl !Send for _tagEOS_P2P_OnPeerConnectionEstablishedInfo
impl !Sync for _tagEOS_P2P_OnPeerConnectionEstablishedInfo
impl Unpin for _tagEOS_P2P_OnPeerConnectionEstablishedInfo
impl UnsafeUnpin for _tagEOS_P2P_OnPeerConnectionEstablishedInfo
impl UnwindSafe for _tagEOS_P2P_OnPeerConnectionEstablishedInfo
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