pub struct EnforcementReport {
pub fs_read: Option<AxisEnforcement>,
pub fs_write: Option<AxisEnforcement>,
pub exec: Option<AxisEnforcement>,
pub net: Option<AxisEnforcement>,
}Expand description
Per-axis confinement report for the four OS-confinement Caveat axes
(fs_read, fs_write, exec, net).
Only restricted (Only(_)) axes appear (Some(_)); an axis granted
All is unrestricted — there is nothing to confine — and is None. The
max_calls / valid_for_generation axes are gate-enforced budget/causality,
not OS-confinement axes, so they are not part of this report.
Fields§
§fs_read: Option<AxisEnforcement>Enforcement of the fs_read axis, when restricted.
fs_write: Option<AxisEnforcement>Enforcement of the fs_write axis, when restricted.
exec: Option<AxisEnforcement>Enforcement of the exec axis, when restricted.
net: Option<AxisEnforcement>Enforcement of the net axis, when restricted.
Implementations§
Trait Implementations§
Source§impl Clone for EnforcementReport
impl Clone for EnforcementReport
Source§fn clone(&self) -> EnforcementReport
fn clone(&self) -> EnforcementReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EnforcementReport
Source§impl Debug for EnforcementReport
impl Debug for EnforcementReport
Source§impl Default for EnforcementReport
impl Default for EnforcementReport
Source§fn default() -> EnforcementReport
fn default() -> EnforcementReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnforcementReport
impl<'de> Deserialize<'de> for EnforcementReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnforcementReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnforcementReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EnforcementReport
Source§impl PartialEq for EnforcementReport
impl PartialEq for EnforcementReport
Source§impl Serialize for EnforcementReport
impl Serialize for EnforcementReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EnforcementReport
Auto Trait Implementations§
impl Freeze for EnforcementReport
impl RefUnwindSafe for EnforcementReport
impl Send for EnforcementReport
impl Sync for EnforcementReport
impl Unpin for EnforcementReport
impl UnsafeUnpin for EnforcementReport
impl UnwindSafe for EnforcementReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, T> ConvertInto<T> for Fwhere
T: ConvertFrom<F>,
impl<F, T> ConvertInto<T> for Fwhere
T: ConvertFrom<F>,
Source§fn convert_into(self) -> T
fn convert_into(self) -> T
Infallibly converts a value of type
Self to a value of type T.Source§impl<F, T> ConvertTryFrom<F> for Twhere
F: ConvertInto<T>,
impl<F, T> ConvertTryFrom<F> for Twhere
F: ConvertInto<T>,
Source§impl<F, T> ConvertTryInto<T> for Fwhere
T: ConvertTryFrom<F>,
impl<F, T> ConvertTryInto<T> for Fwhere
T: ConvertTryFrom<F>,
Source§type Error = <T as ConvertTryFrom<F>>::Error
type Error = <T as ConvertTryFrom<F>>::Error
The type of an error that can occur during a conversion. Read more
Source§fn convert_try_into(self) -> Result<T, <T as ConvertTryFrom<F>>::Error>
fn convert_try_into(self) -> Result<T, <T as ConvertTryFrom<F>>::Error>
Fallibly converts a value of type
Self to a value of type T.impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.impl<T> ErasedDestructor for Twhere
T: 'static,
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