pub enum TrackState {
Idle,
Tentative,
Confirmed,
Coasting,
}Expand description
The observable lifecycle of the single locked track.
Variants§
Idle
No track. The next confident detection seeds a tentative one.
Tentative
A track exists but has not yet been confirmed (too few hits). It is not reported on the wire so a spurious one-frame blob never claims an id.
Confirmed
Confirmed and reported. The id is live and the identity is trusted.
Coasting
Confirmed but currently coasting on prediction through a miss, OR held on the prediction because the frame was appearance-ambiguous, OR re-confirming after a coast (a re-association coming out of a coast spends at least one frame here, reported Uncertain, before it is trusted as Confirmed again, so a handover laundered during a coast surfaces doubt for a frame). The id is held; downstream sees the predicted/measured box flagged Uncertain.
Trait Implementations§
Source§impl Clone for TrackState
impl Clone for TrackState
impl Copy for TrackState
Source§impl Debug for TrackState
impl Debug for TrackState
impl Eq for TrackState
Source§impl PartialEq for TrackState
impl PartialEq for TrackState
impl StructuralPartialEq for TrackState
Auto Trait Implementations§
impl Freeze for TrackState
impl RefUnwindSafe for TrackState
impl Send for TrackState
impl Sync for TrackState
impl Unpin for TrackState
impl UnsafeUnpin for TrackState
impl UnwindSafe for TrackState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.