#[repr(C)]pub struct _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions {
pub ApiVersion: i32,
pub LocalUserId: EOS_ProductUserId,
pub SocketId: *const EOS_P2P_SocketId,
}Expand description
Structure containing information about which connections should be notified
Fields§
§ApiVersion: i32API Version: Set this to EOS_P2P_ADDNOTIFYPEERCONNECTIONESTABLISHED_API_LATEST.
LocalUserId: EOS_ProductUserIdThe Product User ID of the local user who would like to receive notifications
SocketId: *const EOS_P2P_SocketIdThe optional socket ID, used as a filter for established connections. If NULL, this function handler will be called for all sockets
Trait Implementations§
Source§impl Clone for _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
impl Clone for _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
Source§fn clone(&self) -> _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
fn clone(&self) -> _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
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_AddNotifyPeerConnectionEstablishedOptions
Auto Trait Implementations§
impl Freeze for _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
impl RefUnwindSafe for _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
impl !Send for _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
impl !Sync for _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
impl Unpin for _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
impl UnsafeUnpin for _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
impl UnwindSafe for _tagEOS_P2P_AddNotifyPeerConnectionEstablishedOptions
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