pub struct ParentWorkdirSource {
pub root: WorkdirRoot,
pub limits: SnapshotLimits,
}Expand description
A parent’s work folder as launch_child_capsule copies it into a child’s.
Fields§
§root: WorkdirRootThe parent’s accessible work folder, held. Only read, and never handed to the child.
limits: SnapshotLimitsThe child’s own capabilities.resources.workdir_max_bytes, and the parent’s runtime and
records directories, which the copy never enters.
Trait Implementations§
Source§impl Clone for ParentWorkdirSource
impl Clone for ParentWorkdirSource
Auto Trait Implementations§
impl Forget for ParentWorkdirSource
impl Freeze for ParentWorkdirSource
impl Move for ParentWorkdirSource
impl RefUnwindSafe for ParentWorkdirSource
impl Send for ParentWorkdirSource
impl Sync for ParentWorkdirSource
impl Unpin for ParentWorkdirSource
impl UnsafeUnpin for ParentWorkdirSource
impl UnwindSafe for ParentWorkdirSource
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<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