pub struct SharedNodeDiagnostics {
pub id: SharedNodeId,
pub fingerprint: String,
pub operation: SharedNodeOperation,
pub terminal_consumers: Vec<String>,
pub update_count: usize,
pub changed_key_count: usize,
}Expand description
A single shared node’s diagnostics: its shared consumers and root notification bookkeeping while the terminal was incrementally live.
Fields§
§id: SharedNodeIdIdentity of the shared node.
fingerprint: StringCompiler fingerprint of the node’s structure.
operation: SharedNodeOperationRelational family of the node.
terminal_consumers: Vec<String>Names of the terminals authored over this node.
update_count: usizeNumber of entity notifications that changed at least one of the node’s rows.
changed_key_count: usizeNumber of group keys whose collector result a notification changed, summed over notifications. One notification can change several keys, or none while still changing rows (a complemented or joined node’s non-grouped side).
Implementations§
Sourcepub fn new(
id: SharedNodeId,
fingerprint: impl Into<String>,
operation: SharedNodeOperation,
terminal_consumers: Vec<String>,
update_count: usize,
changed_key_count: usize,
) -> Self
pub fn new( id: SharedNodeId, fingerprint: impl Into<String>, operation: SharedNodeOperation, terminal_consumers: Vec<String>, update_count: usize, changed_key_count: usize, ) -> Self
Creates diagnostics from their parts.
Trait Implementations§
Auto Trait Implementations§
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