pub struct HarnessReport {
pub driver: String,
pub binary: Option<HarnessBinaryReport>,
pub paths: Vec<HarnessPathReport>,
pub hosts: Vec<HarnessHostReport>,
pub env: Vec<HarnessEnvReport>,
pub unresolved: Option<String>,
}Expand description
The harness key of a crate::containment::ScopeReport: the driver, the harness binary and
its interpreter, and each path, host and env need with its status. null on a capsule whose
transport is not process.
Fields§
§driver: StringThe process driver, name@version.
binary: Option<HarnessBinaryReport>The resolved harness binary and its #! interpreter, or null when the binary did not
resolve (explain-scope on a host missing the harness).
paths: Vec<HarnessPathReport>One row per declared path need, in declaration order.
hosts: Vec<HarnessHostReport>One row per declared host need, in declaration order.
env: Vec<HarnessEnvReport>One row per required-env variable, in declaration order.
unresolved: Option<String>Why the driver could not be read, for --explain-scope on a missing or unloadable driver;
null otherwise, when every list above was resolved from a loaded driver.
Trait Implementations§
Source§impl Clone for HarnessReport
impl Clone for HarnessReport
Source§impl Debug for HarnessReport
impl Debug for HarnessReport
impl Eq for HarnessReport
Source§impl PartialEq for HarnessReport
impl PartialEq for HarnessReport
Source§impl Serialize for HarnessReport
impl Serialize for HarnessReport
impl StructuralPartialEq for HarnessReport
Auto Trait Implementations§
impl Forget for HarnessReport
impl Freeze for HarnessReport
impl Move for HarnessReport
impl RefUnwindSafe for HarnessReport
impl Send for HarnessReport
impl Sync for HarnessReport
impl Unpin for HarnessReport
impl UnsafeUnpin for HarnessReport
impl UnwindSafe for HarnessReport
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§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