#[repr(C)]pub struct sockstat {Show 14 fields
pub inp_ppcb: u64,
pub so_addr: u64,
pub so_pcb: u64,
pub unp_conn: u64,
pub dom_family: c_int,
pub proto: c_int,
pub so_rcv_sb_state: c_int,
pub so_snd_sb_state: c_int,
pub sa_local: sockaddr_storage,
pub sa_peer: sockaddr_storage,
pub type_: c_int,
pub dname: [c_char; 32],
pub sendq: c_uint,
pub recvq: c_uint,
}Fields§
§inp_ppcb: u64§so_addr: u64§so_pcb: u64§unp_conn: u64§dom_family: c_int§proto: c_int§so_rcv_sb_state: c_int§so_snd_sb_state: c_int§sa_local: sockaddr_storageSocket address.
sa_peer: sockaddr_storagePeer address.
type_: c_int§dname: [c_char; 32]§sendq: c_uint§recvq: c_uintTrait Implementations§
Auto Trait Implementations§
impl Freeze for sockstat
impl RefUnwindSafe for sockstat
impl Send for sockstat
impl Sync for sockstat
impl Unpin for sockstat
impl UnwindSafe for sockstat
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