pub struct FileDescriptorInfo {
pub pid: u64,
pub comm: String,
pub fd: u32,
pub path: String,
pub inode: Option<u64>,
pub pos: u64,
}Expand description
Information about an open file descriptor.
Fields§
§pid: u64PID of the owning process.
comm: StringProcess name.
fd: u32File descriptor number.
path: StringFile path (from dentry, if resolvable).
inode: Option<u64>Inode number, if available.
pos: u64File position (f_pos).
Trait Implementations§
Source§impl Clone for FileDescriptorInfo
impl Clone for FileDescriptorInfo
Source§fn clone(&self) -> FileDescriptorInfo
fn clone(&self) -> FileDescriptorInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileDescriptorInfo
impl RefUnwindSafe for FileDescriptorInfo
impl Send for FileDescriptorInfo
impl Sync for FileDescriptorInfo
impl Unpin for FileDescriptorInfo
impl UnsafeUnpin for FileDescriptorInfo
impl UnwindSafe for FileDescriptorInfo
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