Struct netlink_packet_sock_diag::unix::UnixRequest [−][src]
pub struct UnixRequest {
pub state_flags: StateFlags,
pub inode: u32,
pub show_flags: ShowFlags,
pub cookie: [u8; 8],
}
Expand description
The request for UNIX domain sockets
Fields
state_flags: StateFlags
This is a bit mask that defines a filter of sockets states.
Only those sockets whose states are in this mask will be reported. Ignored when querying for an individual socket.
inode: u32
This is an inode number when querying for an individual socket.
Ignored when querying for a list of sockets.
show_flags: ShowFlags
This is a set of flags defining what kind of information to report.
Each requested kind of information is reported back as a netlink attribute
This is an opaque identifiers that could be used to specify an individual socket.
Trait Implementations
Deserialize the current type.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UnixRequest
impl Send for UnixRequest
impl Sync for UnixRequest
impl Unpin for UnixRequest
impl UnwindSafe for UnixRequest
Blanket Implementations
Mutably borrows from an owned value. Read more