pub struct WorkdirSnapshot {
pub source: String,
pub files: u64,
pub dirs: u64,
pub symlinks: u64,
pub repointed_symlinks: u64,
pub bytes: u64,
pub skipped_count: u64,
pub skipped: Vec<SkippedEntry>,
}Expand description
What one copy of a parent’s work folder put into a child’s: the parent’s
delegation_start.workdir_snapshot, and what the child is told through
mur run --parent-workdir-snapshot.
A report of what the parent did, never a grant: it names the parent’s folder and carries no token, credential or approval.
Fields§
§source: StringThe parent’s work folder, as a host path.
files: u64Regular files copied.
dirs: u64Directories recreated beneath the destination, not counting the destination itself.
symlinks: u64Symbolic links recreated, Self::repointed_symlinks among them.
repointed_symlinks: u64Links whose absolute target lay inside the source and now points into the destination.
bytes: u64Bytes of regular-file content copied: what counted against the ceiling.
skipped_count: u64Every entry left out.
skipped: Vec<SkippedEntry>The first SKIPPED_SAMPLE_LIMIT entries left out, in walk order.
Trait Implementations§
Source§impl Clone for WorkdirSnapshot
impl Clone for WorkdirSnapshot
Source§impl Debug for WorkdirSnapshot
impl Debug for WorkdirSnapshot
Source§impl<'de> Deserialize<'de> for WorkdirSnapshot
impl<'de> Deserialize<'de> for WorkdirSnapshot
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 WorkdirSnapshot
Source§impl PartialEq for WorkdirSnapshot
impl PartialEq for WorkdirSnapshot
Source§impl Serialize for WorkdirSnapshot
impl Serialize for WorkdirSnapshot
impl StructuralPartialEq for WorkdirSnapshot
Auto Trait Implementations§
impl Forget for WorkdirSnapshot
impl Freeze for WorkdirSnapshot
impl RefUnwindSafe for WorkdirSnapshot
impl Send for WorkdirSnapshot
impl Sync for WorkdirSnapshot
impl Unpin for WorkdirSnapshot
impl UnsafeUnpin for WorkdirSnapshot
impl UnwindSafe for WorkdirSnapshot
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more