#[repr(C)]pub struct ptpStatStruct {
pub next: *mut ptpStatStruct,
pub ptpId: c_int,
pub mac: [c_uchar; 6],
pub peermac: [c_uchar; 6],
pub port: c_ushort,
pub peerport: c_ushort,
pub sentData: c_uint,
pub rcvdData: c_uint,
pub unk1: c_int,
}Expand description
PTP status structure
Fields§
§next: *mut ptpStatStructPointer to next PTP structure in list
ptpId: c_intptp ID
mac: [c_uchar; 6]MAC address
peermac: [c_uchar; 6]Peer MAC address
port: c_ushortPort
peerport: c_ushortPeer Port
sentData: c_uintBytes sent
rcvdData: c_uintBytes received
unk1: c_intUnknown
Trait Implementations§
Source§impl Clone for ptpStatStruct
impl Clone for ptpStatStruct
Source§impl Debug for ptpStatStruct
impl Debug for ptpStatStruct
impl Copy for ptpStatStruct
Auto Trait Implementations§
impl Freeze for ptpStatStruct
impl RefUnwindSafe for ptpStatStruct
impl !Send for ptpStatStruct
impl !Sync for ptpStatStruct
impl Unpin for ptpStatStruct
impl UnsafeUnpin for ptpStatStruct
impl UnwindSafe for ptpStatStruct
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