pub enum Announce {
Gnss(u32, GnssSnapshot),
Time(Option<u32>),
IdentityFix(NodeLocation, Option<i32>),
}Expand description
Something the device should publish unasked.
Variants§
Gnss(u32, GnssSnapshot)
A positioning property, named by its key.
Time(Option<u32>)
The wall clock; None means it went back to unknown.
IdentityFix(NodeLocation, Option<i32>)
A fix offered to the advertised identity, at full precision with
the fix’s altitude. What becomes of it is the session’s decision:
it holds PROP_IDENT_LOCATION, clamps to the advertised
precision, and ignores the offer outright when the operator has
taken the position over.
Trait Implementations§
impl Copy for Announce
impl Eq for Announce
impl StructuralPartialEq for Announce
Auto Trait Implementations§
impl Freeze for Announce
impl RefUnwindSafe for Announce
impl Send for Announce
impl Sync for Announce
impl Unpin for Announce
impl UnwindSafe for Announce
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)