pub enum RefTimeStatus {
Unknown,
Approximate,
CoarseAdjusting,
Coarse,
CoarseSteering,
FreeWheeling,
FineAdjusting,
Fine,
FineBackupSteering,
FineSteering,
SatTime,
KubosInvalid,
}
Expand description
Enum for the TimeStatus
response field of the lockStatus
query
Variants
Unknown
Time validity is unknown
Approximate
Time is set approximately
CoarseAdjusting
Time is approaching coarse precision
Coarse
Time is valid to coarse precision
CoarseSteering
Time is coarse set and is being steered
FreeWheeling
Position is lost and the range bias cannot be calculated
FineAdjusting
Time is adjusting to fine precision
Fine
Time has fine precision
FineBackupSteering
Time is fine set and is being steered by the backup system
FineSteering
Time is fine set and is being steered
SatTime
Time from satellite. Only used in logs containing satellite data such as ephemeris and almanac
KubosInvalid
Unknown status value encountered
Trait Implementations
sourceimpl Debug for RefTimeStatus
impl Debug for RefTimeStatus
sourceimpl From<u8> for RefTimeStatus
impl From<u8> for RefTimeStatus
sourcefn from(t: u8) -> RefTimeStatus
fn from(t: u8) -> RefTimeStatus
Converts to this type from the input type.
sourceimpl<__S: ScalarValue> FromInputValue<__S> for RefTimeStatus
impl<__S: ScalarValue> FromInputValue<__S> for RefTimeStatus
sourcefn from_input_value(v: &InputValue<__S>) -> Option<RefTimeStatus> where
for<'__b> &'__b __S: ScalarRefValue<'__b>,
fn from_input_value(v: &InputValue<__S>) -> Option<RefTimeStatus> where
for<'__b> &'__b __S: ScalarRefValue<'__b>,
Performs the conversion.
sourceimpl<__S> GraphQLType<__S> for RefTimeStatus where
__S: ScalarValue,
for<'__b> &'__b __S: ScalarRefValue<'__b>,
impl<__S> GraphQLType<__S> for RefTimeStatus where
__S: ScalarValue,
for<'__b> &'__b __S: ScalarRefValue<'__b>,
sourcefn meta<'r>(_: &(), registry: &mut Registry<'r, __S>) -> MetaType<'r, __S> where
__S: 'r,
fn meta<'r>(_: &(), registry: &mut Registry<'r, __S>) -> MetaType<'r, __S> where
__S: 'r,
The meta type representing this GraphQL type.
sourcefn resolve(
&self,
_: &(),
_: Option<&[Selection<'_, __S>]>,
_: &Executor<'_, Self::Context, __S>
) -> Value<__S>
fn resolve(
&self,
_: &(),
_: Option<&[Selection<'_, __S>]>,
_: &Executor<'_, Self::Context, __S>
) -> Value<__S>
Resolve the provided selection set against the current object. Read more
fn resolve_field(
&self,
info: &Self::TypeInfo,
field_name: &str,
arguments: &Arguments<'_, S>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
fn resolve_field(
&self,
info: &Self::TypeInfo,
field_name: &str,
arguments: &Arguments<'_, S>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
Resolve the value of a single field on this type. Read more
fn resolve_into_type(
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
fn resolve_into_type(
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
Resolve this interface or union into a concrete type Read more
fn concrete_type_name(
&self,
context: &Self::Context,
info: &Self::TypeInfo
) -> String
fn concrete_type_name(
&self,
context: &Self::Context,
info: &Self::TypeInfo
) -> String
Return the concrete type name for this instance/union. Read more
sourceimpl<__S: ScalarValue> ToInputValue<__S> for RefTimeStatus
impl<__S: ScalarValue> ToInputValue<__S> for RefTimeStatus
sourcefn to_input_value(&self) -> InputValue<__S>
fn to_input_value(&self) -> InputValue<__S>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for RefTimeStatus
impl Send for RefTimeStatus
impl Sync for RefTimeStatus
impl Unpin for RefTimeStatus
impl UnwindSafe for RefTimeStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more