pub struct SocketInfo {
pub protocol_socket_info: ProtocolSocketInfo,
pub associated_pids: Vec<u32>,
pub inode: u32,
}
Expand description
General socket information.
Fields§
§protocol_socket_info: ProtocolSocketInfo
Protocol-specific socket information.
associated_pids: Vec<u32>
Identifiers of processes associated with this socket.
inode: u32
Trait Implementations§
Source§impl Clone for SocketInfo
impl Clone for SocketInfo
Source§fn clone(&self) -> SocketInfo
fn clone(&self) -> SocketInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SocketInfo
impl RefUnwindSafe for SocketInfo
impl Send for SocketInfo
impl Sync for SocketInfo
impl Unpin for SocketInfo
impl UnwindSafe for SocketInfo
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