pub struct FilesystemBoundaryReport {
pub restriction: FilesystemRestriction,
pub not_protected: Vec<String>,
}Expand description
What the filesystem mechanism this session installs does not protect, in words an operator can act on.
The counterpart to every grant beside it in a ScopeReport: those say what the capsule may
reach, and this says which of the restrictions an operator would read into them are not there.
Self::not_protected is empty at FilesystemRestriction::Absent and non-empty below it. It
is serialized either way — an absent key identifies a runtime that predates the field, never a
capsule with nothing to disclaim.
Fields§
§restriction: FilesystemRestrictionWhat the session’s filesystem mechanism restricts.
not_protected: Vec<String>One statement per protection an operator would otherwise assume, empty at
FilesystemRestriction::Absent. Rendered verbatim under Not protected here, so the JSON
and the human report cannot word the same disclaimer differently.
Trait Implementations§
Source§impl Clone for FilesystemBoundaryReport
impl Clone for FilesystemBoundaryReport
Source§impl Debug for FilesystemBoundaryReport
impl Debug for FilesystemBoundaryReport
impl Eq for FilesystemBoundaryReport
Source§impl PartialEq for FilesystemBoundaryReport
impl PartialEq for FilesystemBoundaryReport
Source§impl Serialize for FilesystemBoundaryReport
impl Serialize for FilesystemBoundaryReport
impl StructuralPartialEq for FilesystemBoundaryReport
Auto Trait Implementations§
impl Freeze for FilesystemBoundaryReport
impl RefUnwindSafe for FilesystemBoundaryReport
impl Send for FilesystemBoundaryReport
impl Sync for FilesystemBoundaryReport
impl Unpin for FilesystemBoundaryReport
impl UnsafeUnpin for FilesystemBoundaryReport
impl UnwindSafe for FilesystemBoundaryReport
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
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
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> ⓘ
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> ⓘ
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