pub struct CheckRunner { /* private fields */ }Expand description
What a session’s containment was built from, captured before launch, to run a
SessionCheck under it after the session ends.
Implementations§
Source§impl CheckRunner
impl CheckRunner
Sourcepub fn run(&self, check: &SessionCheck) -> CheckOutcome
pub fn run(&self, check: &SessionCheck) -> CheckOutcome
Copies check’s files into the work folder and runs its command there, under the
session’s containment, then kills everything it started. Every failure is an outcome.
Call only after launch_session has returned: the session’s processes are dead then, and
nothing the session started can see the files or the command.
Trait Implementations§
Source§impl Clone for CheckRunner
impl Clone for CheckRunner
Auto Trait Implementations§
impl Forget for CheckRunner
impl Freeze for CheckRunner
impl Move for CheckRunner
impl RefUnwindSafe for CheckRunner
impl Send for CheckRunner
impl Sync for CheckRunner
impl Unpin for CheckRunner
impl UnsafeUnpin for CheckRunner
impl UnwindSafe for CheckRunner
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