pub enum FDTarget {
Path(PathBuf),
Socket(u64),
Net(u64),
Pipe(u64),
AnonInode(String),
MemFD(String),
Other(String, u64),
}
Expand description
Describes a file descriptor opened by a process.
See also the Process::fd() method.
Variants§
Path(PathBuf)
A file or device
Socket(u64)
A socket type, with an inode
Net(u64)
Pipe(u64)
AnonInode(String)
A file descriptor that have no corresponding inode.
MemFD(String)
A memfd file descriptor with a name.
Other(String, u64)
Some other file descriptor type, with an inode.