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: ProtocolSocketInfoProtocol-specific socket information.
associated_pids: Vec<u32>Identifiers of processes associated with this socket.
inode: u32Implementations§
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SocketInfo
impl Debug for SocketInfo
Source§impl Display for SocketInfo
impl Display for SocketInfo
Source§impl PartialEq for SocketInfo
impl PartialEq for SocketInfo
Auto 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