api: record the RNode attempt-failure snapshot

This commit is contained in:
DeFiDude committed 2026-10-31 13:45:25 -06:00
1 parent 5a448fdebf
commit 8e89fffc23
2 files changed
+7 -2

No files matched your search

+5
View File
@@ -689,6 +689,7 @@ pub rns_interface::rnode::RNodeRuntimeReason::ConfigurationRejected
pub rns_interface::rnode::RNodeRuntimeReason::ConnectionAttemptFailed
pub rns_interface::rnode::RNodeRuntimeReason::ConnectionLost
pub rns_interface::rnode::RNodeRuntimeReason::DeviceReset
pub rns_interface::rnode::RNodeRuntimeReason::DeviceUnresponsive
pub rns_interface::rnode::RNodeRuntimeReason::DriverTerminated
pub rns_interface::rnode::RNodeRuntimeReason::RadioInitialisationFault
pub rns_interface::rnode::RNodeRuntimeReason::StopRequested
@@ -718,6 +719,9 @@ pub rns_interface::rnode::RNodeTransportClass::Ble
pub rns_interface::rnode::RNodeTransportClass::Serial
pub rns_interface::rnode::RNodeTransportClass::Tcp
pub rns_interface::rnode::RNodeTransportClass::Usb
#[non_exhaustive] pub struct rns_interface::rnode::RNodeAttemptFailure
pub rns_interface::rnode::RNodeAttemptFailure::consecutive: u32
pub rns_interface::rnode::RNodeAttemptFailure::reason: rns_interface::rnode::RNodeRuntimeReason
pub struct rns_interface::rnode::RNodeConfig
pub rns_interface::rnode::RNodeConfig::bandwidth: u32
pub rns_interface::rnode::RNodeConfig::baud_rate: u32
@@ -771,6 +775,7 @@ pub rns_interface::rnode::RNodeRuntimeSnapshot::connection_generation: u64
pub rns_interface::rnode::RNodeRuntimeSnapshot::detection: rns_interface::rnode::RNodeDetectionState
pub rns_interface::rnode::RNodeRuntimeSnapshot::disconnect_total: u64
pub rns_interface::rnode::RNodeRuntimeSnapshot::firmware_compatibility: rns_interface::rnode::RNodeFirmwareCompatibility
pub rns_interface::rnode::RNodeRuntimeSnapshot::last_attempt_failure: core::option::Option<rns_interface::rnode::RNodeAttemptFailure>
pub rns_interface::rnode::RNodeRuntimeSnapshot::phase: rns_interface::rnode::RNodeRuntimePhase
pub rns_interface::rnode::RNodeRuntimeSnapshot::port_failure: core::option::Option<rns_interface::rnode::RNodePortFailureClass>
pub rns_interface::rnode::RNodeRuntimeSnapshot::radio: rns_interface::rnode::RNodeObservedRadioState
+2 -2
View File
@@ -78,8 +78,8 @@
"tier": "candidate-stable",
"compatibility": "reviewed-snapshot",
"snapshot": "api/snapshots/rns-interface.txt",
"itemCount": 1437,
"sha256": "202181006ad3505dc4977f95740d5cd813fe664c5060806d2f757851ca0befb5"
"itemCount": 1442,
"sha256": "df12bc60622557e874c96c70cada3a778f4533e05317a22fb5c98c3510f03033"
},
{
"name": "rns-runtime",