pub struct HarnessPathReport {
pub need: String,
pub path: Option<String>,
pub access: &'static str,
pub allowed_by: Option<String>,
pub status: &'static str,
pub reason: Option<String>,
}Expand description
One path need’s row: what the driver asked for, where it resolved, and whether it was granted.
Fields§
§need: StringThe need as the driver declared it (~/… or absolute).
path: Option<String>The directory it resolved to on this host, or null when missing or not allowed.
access: &'static strThe access the driver asked for.
allowed_by: Option<String>The capabilities.harness.paths entry that allows it, as written, or null when none
does.
status: &'static strgranted (allowed and present on this host), missing (allowed but absent) or refused
(not allowed, or resolving to a refused location).
reason: Option<String>Why, for a refused status; null otherwise.
Trait Implementations§
Source§impl Clone for HarnessPathReport
impl Clone for HarnessPathReport
Source§impl Debug for HarnessPathReport
impl Debug for HarnessPathReport
impl Eq for HarnessPathReport
Source§impl PartialEq for HarnessPathReport
impl PartialEq for HarnessPathReport
Source§impl Serialize for HarnessPathReport
impl Serialize for HarnessPathReport
impl StructuralPartialEq for HarnessPathReport
Auto Trait Implementations§
impl Forget for HarnessPathReport
impl Freeze for HarnessPathReport
impl Move for HarnessPathReport
impl RefUnwindSafe for HarnessPathReport
impl Send for HarnessPathReport
impl Sync for HarnessPathReport
impl Unpin for HarnessPathReport
impl UnsafeUnpin for HarnessPathReport
impl UnwindSafe for HarnessPathReport
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