pub struct NativeSourceEvidence {
pub code: ContentId,
pub dependencies: ContentId,
pub review: ContentId,
pub source_and_dependencies_reviewed: bool,
pub ambient_io_closed: bool,
pub hidden_state_reviewed: bool,
pub loaded_code_matches: bool,
}Expand description
Evidence needed to trust an exact native projector implementation.
Fields§
§code: ContentIdExact implementation identity.
dependencies: ContentIdExact transitive runtime dependency identity.
review: ContentIdIndependent review evidence identity.
source_and_dependencies_reviewed: boolSource and dependencies were both reviewed.
ambient_io_closed: boolDeny-ambient-I/O review found no unexplained path.
FFI, unsafe, globals, mutable caches, and nondeterminism were reviewed.
loaded_code_matches: boolThe inspected code identity equals the code that will be loaded.
Trait Implementations§
Source§impl Clone for NativeSourceEvidence
impl Clone for NativeSourceEvidence
Source§fn clone(&self) -> NativeSourceEvidence
fn clone(&self) -> NativeSourceEvidence
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 NativeSourceEvidence
impl Debug for NativeSourceEvidence
impl Eq for NativeSourceEvidence
Source§impl PartialEq for NativeSourceEvidence
impl PartialEq for NativeSourceEvidence
impl StructuralPartialEq for NativeSourceEvidence
Auto Trait Implementations§
impl Freeze for NativeSourceEvidence
impl RefUnwindSafe for NativeSourceEvidence
impl Send for NativeSourceEvidence
impl Sync for NativeSourceEvidence
impl Unpin for NativeSourceEvidence
impl UnsafeUnpin for NativeSourceEvidence
impl UnwindSafe for NativeSourceEvidence
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