pub struct NodeDiagnosticsConfig {
pub include_node_info: bool,
pub include_network_info: bool,
pub include_subscriptions: bool,
pub contract_keys: Vec<ContractKey>,
pub include_system_metrics: bool,
pub include_detailed_peer_info: bool,
pub include_subscriber_peer_ids: bool,
}
Fields§
§include_node_info: bool
Include basic node information (ID, location, uptime, etc.)
include_network_info: bool
Include network connectivity information
include_subscriptions: bool
Include contract subscription information
contract_keys: Vec<ContractKey>
Include contract states for specific contracts (empty = all contracts)
include_system_metrics: bool
Include memory and performance metrics
include_detailed_peer_info: bool
Include detailed information about connected peers (vs basic peer list)
include_subscriber_peer_ids: bool
Include peer IDs of subscribers in contract state information
Implementations§
Source§impl NodeDiagnosticsConfig
impl NodeDiagnosticsConfig
Sourcepub fn for_update_propagation_debugging(contract_key: ContractKey) -> Self
pub fn for_update_propagation_debugging(contract_key: ContractKey) -> Self
Create a comprehensive diagnostic config for debugging update propagation issues
Sourcepub fn basic_status() -> Self
pub fn basic_status() -> Self
Create a lightweight diagnostic config for basic node status
Trait Implementations§
Source§impl Clone for NodeDiagnosticsConfig
impl Clone for NodeDiagnosticsConfig
Source§fn clone(&self) -> NodeDiagnosticsConfig
fn clone(&self) -> NodeDiagnosticsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NodeDiagnosticsConfig
impl Debug for NodeDiagnosticsConfig
Source§impl<'de> Deserialize<'de> for NodeDiagnosticsConfig
impl<'de> Deserialize<'de> for NodeDiagnosticsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NodeDiagnosticsConfig
impl RefUnwindSafe for NodeDiagnosticsConfig
impl Send for NodeDiagnosticsConfig
impl Sync for NodeDiagnosticsConfig
impl Unpin for NodeDiagnosticsConfig
impl UnwindSafe for NodeDiagnosticsConfig
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