pub struct ContractReporter { /* private fields */ }Expand description
Static storage for one executor’s DiagSink — what a Rust entry owns in
place of the C++ context’s diag field.
nros::main! emits one per executor that installs a non-empty table, as a
static. Filled once, by install_contract_monitors, on the thread that
registers that executor’s nodes; read afterwards only through the
executor’s sink, on the thread that spins it.
Implementations§
Trait Implementations§
Source§impl Default for ContractReporter
impl Default for ContractReporter
impl Sync for ContractReporter
Auto Trait Implementations§
impl !Freeze for ContractReporter
impl !RefUnwindSafe for ContractReporter
impl !Send for ContractReporter
impl Unpin for ContractReporter
impl UnsafeUnpin for ContractReporter
impl UnwindSafe for ContractReporter
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