pub struct RouteReport {
pub route: Route,
pub present: bool,
pub under_class: bool,
pub mechanism: &'static str,
pub note: Option<&'static str>,
pub artifacts: Vec<String>,
}Expand description
One row of ScopeReport::routes: whether this capsule has the route, and what holds it.
Fields§
§route: RouteWhich route, as a kebab-case wire name.
present: boolWhether this capsule has the route.
under_class: boolWhether the session’s class covers the route, from Route::under_class.
mechanism: &'static strScopeReport::enforcement_tier’s wire name when Self::under_class, else
HOST_PROCESS_MECHANISM. unconfined on the unconfined tier for every route
Route::runs_unconfined.
note: Option<&'static str>What an uncovered route runs under, from Route::note; null when covered, except on
the unconfined tier, where a route Route::runs_unconfined says nothing holds it.
Always serialized.
artifacts: Vec<String>The artifacts on the route, in manifest order: the tool, driver or hook entries it runs. Empty for a route no artifact names. Always serialized.
Trait Implementations§
Source§impl Clone for RouteReport
impl Clone for RouteReport
Source§impl Debug for RouteReport
impl Debug for RouteReport
impl Eq for RouteReport
Source§impl PartialEq for RouteReport
impl PartialEq for RouteReport
Source§impl Serialize for RouteReport
impl Serialize for RouteReport
impl StructuralPartialEq for RouteReport
Auto Trait Implementations§
impl Forget for RouteReport
impl Freeze for RouteReport
impl RefUnwindSafe for RouteReport
impl Send for RouteReport
impl Sync for RouteReport
impl Unpin for RouteReport
impl UnsafeUnpin for RouteReport
impl UnwindSafe for RouteReport
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