pub struct ExecutableIdentity {
pub device: u64,
pub inode: u64,
/* private fields */
}Expand description
The device and inode of the executable a child was recorded running.
On macOS, /bin/sh re-execs the shell /private/var/select/sh points to
(see man sh), so a #!/bin/sh module’s image changes once after launch.
For that image only, the identity also records the selected shell, read at
launch.
Fields§
§device: u64Device number on Unix; zero for a Windows file identity.
inode: u64Inode number on Unix; zero for a Windows file identity.
Trait Implementations§
Source§impl Clone for ExecutableIdentity
impl Clone for ExecutableIdentity
impl Copy for ExecutableIdentity
Source§impl Debug for ExecutableIdentity
impl Debug for ExecutableIdentity
Source§impl<'de> Deserialize<'de> for ExecutableIdentity
impl<'de> Deserialize<'de> for ExecutableIdentity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExecutableIdentity
Source§impl From<FileIdentity> for ExecutableIdentity
impl From<FileIdentity> for ExecutableIdentity
Source§fn from(identity: FileIdentity) -> Self
fn from(identity: FileIdentity) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExecutableIdentity
impl PartialEq for ExecutableIdentity
Source§impl Serialize for ExecutableIdentity
impl Serialize for ExecutableIdentity
impl StructuralPartialEq for ExecutableIdentity
Auto Trait Implementations§
impl Forget for ExecutableIdentity
impl Freeze for ExecutableIdentity
impl Move for ExecutableIdentity
impl RefUnwindSafe for ExecutableIdentity
impl Send for ExecutableIdentity
impl Sync for ExecutableIdentity
impl Unpin for ExecutableIdentity
impl UnsafeUnpin for ExecutableIdentity
impl UnwindSafe for ExecutableIdentity
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