pub struct SandboxReport {
pub launcher: String,
pub controls: Vec<SandboxEvidence>,
pub limit_hits: Vec<String>,
pub cleanup: String,
}Expand description
Requested-versus-achieved report plus every operational limit event.
Fields§
§launcher: StringRegistered launcher identity.
controls: Vec<SandboxEvidence>Requested-versus-achieved control evidence.
limit_hits: Vec<String>Resource hits and truncations.
cleanup: StringProcess-tree cleanup evidence.
Implementations§
Source§impl SandboxReport
impl SandboxReport
Sourcepub fn proves_required(&self, policy: &SandboxPolicy) -> bool
pub fn proves_required(&self, policy: &SandboxPolicy) -> bool
Returns whether every required control has positive, non-empty evidence.
Trait Implementations§
Source§impl Clone for SandboxReport
impl Clone for SandboxReport
Source§fn clone(&self) -> SandboxReport
fn clone(&self) -> SandboxReport
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 moreSource§impl Debug for SandboxReport
impl Debug for SandboxReport
impl Eq for SandboxReport
Source§impl PartialEq for SandboxReport
impl PartialEq for SandboxReport
impl StructuralPartialEq for SandboxReport
Auto Trait Implementations§
impl Freeze for SandboxReport
impl RefUnwindSafe for SandboxReport
impl Send for SandboxReport
impl Sync for SandboxReport
impl Unpin for SandboxReport
impl UnsafeUnpin for SandboxReport
impl UnwindSafe for SandboxReport
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