Skip to main content

QmiLocTimeSource

Struct QmiLocTimeSource 

Source
#[repr(transparent)]
pub struct QmiLocTimeSource(pub c_uint);
Expand description

Source of the used time.

Since 1.22

Tuple Fields§

§0: c_uint

Implementations§

Source§

impl QmiLocTimeSource

Source

pub const INVALID: QmiLocTimeSource

Invalid.

Source

pub const NETWORK_TIME_TRANSFER: QmiLocTimeSource

Time is set by the 1X system.

Source

pub const NETWORK_TIME_TAGGING: QmiLocTimeSource

Time is set by WCDMA/GSM time tagging.

Source

pub const EXTERNAL_INPUT: QmiLocTimeSource

Time set by external injection.

Source

pub const TOW_DECODE: QmiLocTimeSource

Time is set after decoding over-the-air GPS navigation data from one GPS satellite.

Source

pub const TOW_CONFIRMED: QmiLocTimeSource

Time is set after decoding over-the-air GPS navigation data from multiple satellites.

Source

pub const TOW_AND_WEEK_CONFIRMED: QmiLocTimeSource

Both time of the week and GPS week number are known.

Source

pub const NAVIGATION_SOLUTION: QmiLocTimeSource

Time is set by the position engine after the fix is obtained.

Source

pub const SOLVE_FOR_TIME: QmiLocTimeSource

Time is set by the position engine after performing SFT.

Source

pub const GLO_TOW_DECODE: QmiLocTimeSource

Time is set after decoding QZSS satellites.

Source

pub const TIME_TRANSFORM: QmiLocTimeSource

Time is set after transforming the GPS to GLO time.

Source

pub const WCDMA_SLEEP_TIME_TAG: QmiLocTimeSource

Time is set by the sleep time tag provided by the WCDMA network.

Source

pub const GSM_SLEEP_TIME_TAG: QmiLocTimeSource

Time is set by the sleep time tag provided by the GSM network.

Source

pub const UNKNOWN: QmiLocTimeSource

Unknown.

Source

pub const SYSTEM_TIMETICK: QmiLocTimeSource

Time is derived from the system clock.

Source

pub const QZSS_TOW_DECODE: QmiLocTimeSource

Time set after decoding QZSS satellites.

Source

pub const BDS_TOW_DECODE: QmiLocTimeSource

Time set after decoding BDS satellites.

Trait Implementations§

Source§

impl Clone for QmiLocTimeSource

Source§

fn clone(&self) -> QmiLocTimeSource

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for QmiLocTimeSource

Source§

impl Debug for QmiLocTimeSource

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for QmiLocTimeSource

Source§

impl Hash for QmiLocTimeSource

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for QmiLocTimeSource

Source§

fn eq(&self, other: &QmiLocTimeSource) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for QmiLocTimeSource

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.