pub struct Observe {
pub meter: Option<Box<dyn DeclMeter>>,
pub trust_before: u64,
}Expand description
How a run is observed, beside the kernel’s own configuration.
Fields§
§meter: Option<Box<dyn DeclMeter>>Told about every declaration the kernel checks.
trust_before: u64The declarations before this index are admitted as the export states them, unchecked — except the primitives, the quotient and any inductive block declaring a primitive, which are checked so that the literal operations validated match a full run. A diagnostic for measuring declarations deep in an export without re-checking its prefix: a run with a trusted prefix claims nothing, and always declines.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Observe
impl !RefUnwindSafe for Observe
impl !Send for Observe
impl !Sync for Observe
impl Unpin for Observe
impl UnsafeUnpin for Observe
impl !UnwindSafe for Observe
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