pub struct ProcessSnapshot {
pub changed_fields: Vec<(String, EpicsValue, EventMask)>,
}Expand description
Snapshot of changes from a process cycle, used for notify outside lock.
Fields§
§changed_fields: Vec<(String, EpicsValue, EventMask)>(field, value, mask) — every posted field carries its own
DBE_* posting mask, mirroring C’s per-field
db_post_events(prec, &field, mask). One process cycle posts
different classes per field: a deadband-gated readback narrows
to the deadbands that actually crossed (MDEL → DBE_VALUE,
ADEL → DBE_LOG; motorRecord.cc monitor() 3477-3507,
aiRecord.c monitor()), while a change-detected auxiliary
field posts DBE_VALUE | DBE_LOG (motorRecord.cc 3522-3645
DBE_VAL_LOG; calcRecord.c:420). A single record-wide mask
collapses that granularity — an archive-only deadband crossing
would wrongly reach DBE_VALUE subscribers whenever any other
field changed in the same pass.
Auto Trait Implementations§
impl Freeze for ProcessSnapshot
impl RefUnwindSafe for ProcessSnapshot
impl Send for ProcessSnapshot
impl Sync for ProcessSnapshot
impl Unpin for ProcessSnapshot
impl UnsafeUnpin for ProcessSnapshot
impl UnwindSafe for ProcessSnapshot
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