pub struct RemoteTargetEntry {
pub newest_mtime_unix: u64,
pub kb: u64,
pub path: String,
pub open_handles: GateEvidence,
pub live_process: GateEvidence,
}Expand description
One enumerated remote target dir from enumerate_targets_command output.
Fields§
§newest_mtime_unix: u64Newest mtime (Unix seconds) of the dir or any descendant.
kb: u64Disk usage in KiB.
path: StringAbsolute path on the worker.
open_handles: GateEvidenceWhether any process holds a descriptor open under this dir, or has it
as its cwd. GateEvidence::Unknown when the snapshot could not be
taken — which makes the dir ineligible, never eligible.
live_process: GateEvidenceWhether a live process’s command line names this dir.
GateEvidence::Unknown when the snapshot could not be taken.
Implementations§
Trait Implementations§
Source§impl Clone for RemoteTargetEntry
impl Clone for RemoteTargetEntry
Source§impl Debug for RemoteTargetEntry
impl Debug for RemoteTargetEntry
impl Eq for RemoteTargetEntry
Source§impl PartialEq for RemoteTargetEntry
impl PartialEq for RemoteTargetEntry
impl StructuralPartialEq for RemoteTargetEntry
Auto Trait Implementations§
impl Freeze for RemoteTargetEntry
impl RefUnwindSafe for RemoteTargetEntry
impl Send for RemoteTargetEntry
impl Sync for RemoteTargetEntry
impl Unpin for RemoteTargetEntry
impl UnsafeUnpin for RemoteTargetEntry
impl UnwindSafe for RemoteTargetEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.