pub struct ChangedRead {
pub path: PathBuf,
pub written: bool,
}Expand description
A file that changed during a run after the command first read it or ran it.
Fields§
§path: PathBufThe absolute path that the command read or ran.
written: boolWhether the command wrote the path, as its access kinds show; when it did not, something else changed the file while the command ran.
Implementations§
Source§impl ChangedRead
impl ChangedRead
Sourcepub const fn changed_by(&self) -> &'static str
pub const fn changed_by(&self) -> &'static str
Who changed the file, as explanations say it.
Trait Implementations§
Source§impl Clone for ChangedRead
impl Clone for ChangedRead
Source§impl Debug for ChangedRead
impl Debug for ChangedRead
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for ChangedRead
impl<'bytes, Ctx> Decode<'bytes, Ctx> for ChangedRead
Source§impl<Ctx> Encode<Ctx> for ChangedRead
impl<Ctx> Encode<Ctx> for ChangedRead
impl Eq for ChangedRead
Source§impl Hash for ChangedRead
impl Hash for ChangedRead
Source§impl PartialEq for ChangedRead
impl PartialEq for ChangedRead
impl StructuralPartialEq for ChangedRead
Auto Trait Implementations§
impl Freeze for ChangedRead
impl RefUnwindSafe for ChangedRead
impl Send for ChangedRead
impl Sync for ChangedRead
impl Unpin for ChangedRead
impl UnsafeUnpin for ChangedRead
impl UnwindSafe for ChangedRead
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.