pub struct ObservedRow {
pub reads: BTreeSet<DefinitionId>,
pub writes: BTreeSet<DefinitionId>,
pub calls: BTreeSet<String>,
pub emits: bool,
pub tags: bool,
pub faults: bool,
}Expand description
Atoms observed for one executed definition scope (docs/effects-spec.md
§2) — the runtime counterpart of brink_analyzer::EffectRow’s
{reads, writes, calls} (this module never constructs an opaque row:
every atom the VM performs is concrete).
Fields§
§reads: BTreeSet<DefinitionId>§writes: BTreeSet<DefinitionId>§calls: BTreeSet<String>§emits: boolNS-A2 (issue #1108): the def emitted visible content (a line ref,
value, glue, or spring on the visible output channel — string-eval
captures excluded; see vm::note_effect_emit).
NS-A2: the def produced a tag (any EndTag destination).
faults: boolNS-A2: a tracked turn-terminating fault fired while the def was
executing (see is_tracked_fault for the inventory).
Trait Implementations§
Source§impl Clone for ObservedRow
impl Clone for ObservedRow
Source§fn clone(&self) -> ObservedRow
fn clone(&self) -> ObservedRow
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 ObservedRow
impl Debug for ObservedRow
Source§impl Default for ObservedRow
impl Default for ObservedRow
Source§fn default() -> ObservedRow
fn default() -> ObservedRow
Returns the “default value” for a type. Read more
impl Eq for ObservedRow
Source§impl PartialEq for ObservedRow
impl PartialEq for ObservedRow
impl StructuralPartialEq for ObservedRow
Auto Trait Implementations§
impl Freeze for ObservedRow
impl RefUnwindSafe for ObservedRow
impl Send for ObservedRow
impl Sync for ObservedRow
impl Unpin for ObservedRow
impl UnsafeUnpin for ObservedRow
impl UnwindSafe for ObservedRow
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