pub struct PinnedFile {
pub path: PathBuf,
pub state: Option<PinnedState>,
}Expand description
A file as a probe found it: absent, or present with a length and modification time. Length alone would miss a rewrite that kept the size.
Described by the shim at the moment it reads the file, not by the agent afterwards, so an executable replaced while its probe ran cannot be recorded under the replacement’s identity.
Fields§
§path: PathBufThe file, absent or present.
state: Option<PinnedState>What was there, or None for nothing.
Implementations§
Trait Implementations§
Source§impl Clone for PinnedFile
impl Clone for PinnedFile
Source§impl Debug for PinnedFile
impl Debug for PinnedFile
Source§impl<'de> Deserialize<'de> for PinnedFile
impl<'de> Deserialize<'de> for PinnedFile
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 PinnedFile
Source§impl PartialEq for PinnedFile
impl PartialEq for PinnedFile
Source§impl Serialize for PinnedFile
impl Serialize for PinnedFile
impl StructuralPartialEq for PinnedFile
Auto Trait Implementations§
impl Freeze for PinnedFile
impl RefUnwindSafe for PinnedFile
impl Send for PinnedFile
impl Sync for PinnedFile
impl Unpin for PinnedFile
impl UnsafeUnpin for PinnedFile
impl UnwindSafe for PinnedFile
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