#[repr(C)]pub struct SceNetAdhocPtpStat {
pub next: *mut SceNetAdhocPtpStat,
pub ptp_id: i32,
pub mac: [u8; 6],
pub peermac: [u8; 6],
pub port: u16,
pub peerport: u16,
pub sent_data: u32,
pub rcvd_data: u32,
pub state: ScePspnetAdhocPtpState,
}Expand description
PTP status structure
Fields§
§next: *mut SceNetAdhocPtpStatPointer to next PTP structure in list
ptp_id: i32ptp ID
mac: [u8; 6]MAC address
peermac: [u8; 6]Peer MAC address
port: u16Port
peerport: u16Peer Port
sent_data: u32Bytes sent
rcvd_data: u32Bytes received
state: ScePspnetAdhocPtpStateUnknown
Trait Implementations§
Source§impl Clone for SceNetAdhocPtpStat
impl Clone for SceNetAdhocPtpStat
Source§fn clone(&self) -> SceNetAdhocPtpStat
fn clone(&self) -> SceNetAdhocPtpStat
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SceNetAdhocPtpStat
impl Debug for SceNetAdhocPtpStat
impl Copy for SceNetAdhocPtpStat
Auto Trait Implementations§
impl Freeze for SceNetAdhocPtpStat
impl RefUnwindSafe for SceNetAdhocPtpStat
impl !Send for SceNetAdhocPtpStat
impl !Sync for SceNetAdhocPtpStat
impl Unpin for SceNetAdhocPtpStat
impl UnwindSafe for SceNetAdhocPtpStat
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)