pub struct ReceiverState {
pub model: Option<String>,
/* private fields */
}Expand description
One receiver’s decoded state.
Fields§
§model: Option<String>Receiver model, when known.
Implementations§
Source§impl ReceiverState
impl ReceiverState
Sourcepub fn on_pvt(&mut self, now: u64, pvt: NavPvt)
pub fn on_pvt(&mut self, now: u64, pvt: NavPvt)
Record a NAV-PVT received at now (monotonic ns).
Sourcepub fn on_dop(&mut self, now: u64, hdop: f64)
pub fn on_dop(&mut self, now: u64, hdop: f64)
Record a NAV-DOP horizontal DOP received at now (monotonic ns).
Trait Implementations§
Source§impl Clone for ReceiverState
impl Clone for ReceiverState
Source§impl Debug for ReceiverState
impl Debug for ReceiverState
Auto Trait Implementations§
impl Freeze for ReceiverState
impl RefUnwindSafe for ReceiverState
impl Send for ReceiverState
impl Sync for ReceiverState
impl Unpin for ReceiverState
impl UnsafeUnpin for ReceiverState
impl UnwindSafe for ReceiverState
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