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