#[repr(C)]pub struct _tagEOS_P2P_ReceivePacketOptions {
pub ApiVersion: i32,
pub LocalUserId: EOS_ProductUserId,
pub MaxDataSizeBytes: u32,
pub RequestedChannel: *const u8,
}Expand description
Structure containing information about who would like to receive a packet, and how much data can be stored safely.
Fields§
§ApiVersion: i32API Version: Set this to EOS_P2P_RECEIVEPACKET_API_LATEST.
LocalUserId: EOS_ProductUserIdThe Product User ID of the user who is receiving the packet
MaxDataSizeBytes: u32The maximum amount of data in bytes that can be safely copied to OutData in the function call
RequestedChannel: *const u8An optional channel to request the data for. If NULL, we’re retrieving the next packet on any channel
Trait Implementations§
Source§impl Clone for _tagEOS_P2P_ReceivePacketOptions
impl Clone for _tagEOS_P2P_ReceivePacketOptions
Source§fn clone(&self) -> _tagEOS_P2P_ReceivePacketOptions
fn clone(&self) -> _tagEOS_P2P_ReceivePacketOptions
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_ReceivePacketOptions
Auto Trait Implementations§
impl Freeze for _tagEOS_P2P_ReceivePacketOptions
impl RefUnwindSafe for _tagEOS_P2P_ReceivePacketOptions
impl !Send for _tagEOS_P2P_ReceivePacketOptions
impl !Sync for _tagEOS_P2P_ReceivePacketOptions
impl Unpin for _tagEOS_P2P_ReceivePacketOptions
impl UnsafeUnpin for _tagEOS_P2P_ReceivePacketOptions
impl UnwindSafe for _tagEOS_P2P_ReceivePacketOptions
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