feat(log): add bounded diagnostic transport
This commit is contained in:
1 parent
632bf9f01b
commit
0a75860841
46 files changed
+2758
-60
No files matched your search
@@ -7,6 +7,7 @@
|
||||
|
||||
#![no_std]
|
||||
|
||||
use kaptan_log::KaptanError;
|
||||
use kaptan_time::Timestamp;
|
||||
|
||||
/// Supervisor arming state.
|
||||
@@ -23,7 +24,7 @@ pub enum SafetyState {
|
||||
}
|
||||
|
||||
/// Typed reason for refusing or ending actuator authorization.
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, KaptanError)]
|
||||
pub enum SafetyFailure {
|
||||
/// Estimator is absent, stale, or non-finite.
|
||||
EstimatorUnhealthy,
|
||||
@@ -42,7 +43,7 @@ pub enum SafetyFailure {
|
||||
}
|
||||
|
||||
/// Invalid safety configuration.
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, KaptanError)]
|
||||
pub enum SafetyConfigError {
|
||||
/// A zero dwell would permit two evaluations at one timestamp to arm.
|
||||
ZeroPrearmDwell,
|
||||
|
||||
Reference in new issue
Block a user