Enum procfs::process::FDTarget [−][src]
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)
Tuple Fields
0: PathBuf
A file or device
Socket(u64)
Tuple Fields
0: u64
A socket type, with an inode
Net(u64)
Tuple Fields
0: u64
Pipe(u64)
Tuple Fields
0: u64
AnonInode(String)
Tuple Fields
0: String
A file descriptor that have no corresponding inode.
MemFD(String)
Tuple Fields
0: String
A memfd file descriptor with a name.
Other(String, u64)
Some other file descriptor type, with an inode.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FDTarget
impl UnwindSafe for FDTarget
Blanket Implementations
Mutably borrows from an owned value. Read more