#[non_exhaustive]pub enum NavigationEvent {
FixAcquired {
source: PositionSource,
at: Instant<Utc>,
},
FixLost {
source: PositionSource,
at: Instant<Utc>,
last_good: Instant<Utc>,
},
ObservationRejected {
reason: RejectionReason,
at: Instant<Utc>,
},
IntegrityChanged {
from: NavigationIntegrity,
to: NavigationIntegrity,
at: Instant<Utc>,
},
SensorHealthChanged {
sensor: SensorId,
from: SensorHealth,
to: SensorHealth,
at: Instant<Utc>,
},
}Expand description
Kernel event.
#[non_exhaustive]; match with a wildcard arm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FixAcquired
Position source started delivering, or resumed after a gap.
FixLost
Position source stopped delivering usable fixes.
Fields
§
source: PositionSourceSource.
ObservationRejected
Observation rejected.
IntegrityChanged
Solution integrity changed.
SensorHealthChanged
Source health changed.
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