pub enum AisTargetStatus {
Unconfirmed,
Confirmed,
Lost,
Remove,
}Expand description
The tracking status a target-tracking plugin publishes per target on
sensors.ais.status – confirmed live against sk-ais-status-plugin
(not a Signal K specification path, a third-party convention). Its
own README recommends the following treatment:
Unconfirmed: shown, but de-emphasised – not yet enough reports to trust as more than a suspect decode.Confirmed: shown normally.Lost: shown faded, with its age – gone quiet longer than its own class’s own patience allows.Remove: dropped outright, the same as this crate’s own fallback timeout for a server with no such plugin.
Variants§
Unconfirmed
A position has arrived, but not yet enough reports to trust it.
Confirmed
Enough consistent reports have arrived to treat this normally.
Lost
Gone quiet longer than its own class’s own patience allows.
Remove
Gone quiet long enough a display should drop it outright.
Trait Implementations§
Source§impl Clone for AisTargetStatus
impl Clone for AisTargetStatus
Source§fn clone(&self) -> AisTargetStatus
fn clone(&self) -> AisTargetStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AisTargetStatus
Source§impl Debug for AisTargetStatus
impl Debug for AisTargetStatus
impl Eq for AisTargetStatus
Source§impl PartialEq for AisTargetStatus
impl PartialEq for AisTargetStatus
Source§fn eq(&self, other: &AisTargetStatus) -> bool
fn eq(&self, other: &AisTargetStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AisTargetStatus
Auto Trait Implementations§
impl Freeze for AisTargetStatus
impl RefUnwindSafe for AisTargetStatus
impl Send for AisTargetStatus
impl Sync for AisTargetStatus
impl Unpin for AisTargetStatus
impl UnsafeUnpin for AisTargetStatus
impl UnwindSafe for AisTargetStatus
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