Struct comms_service::CommsTelemetry
source · [−]pub struct CommsTelemetry {
pub errors: Vec<String>,
pub failed_packets_up: i32,
pub failed_packets_down: i32,
pub packets_up: i32,
pub packets_down: i32,
}
Expand description
Generic telemetry collected by the communication service.
Fields
errors: Vec<String>
Errors that have occured within the communication service.
failed_packets_up: i32
Number of bad uplink packets.
failed_packets_down: i32
Number of bad downlink packets.
packets_up: i32
Number of packets successfully uplinked.
packets_down: i32
Number of packets successfully downlinked.
Trait Implementations
sourceimpl Default for CommsTelemetry
impl Default for CommsTelemetry
sourcefn default() -> CommsTelemetry
fn default() -> CommsTelemetry
Returns the “default value” for a type. Read more
sourceimpl<__S> GraphQLType<__S> for CommsTelemetry where
__S: ScalarValue,
for<'__b> &'__b __S: ScalarRefValue<'__b>,
impl<__S> GraphQLType<__S> for CommsTelemetry where
__S: ScalarValue,
for<'__b> &'__b __S: ScalarRefValue<'__b>,
sourcefn concrete_type_name(&self, _: &Self::Context, _: &()) -> String
fn concrete_type_name(&self, _: &Self::Context, _: &()) -> String
Return the concrete type name for this instance/union. Read more
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_field(
&self,
_: &(),
field_name: &str,
_: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
fn resolve_field(
&self,
_: &(),
field_name: &str,
_: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__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
Auto Trait Implementations
impl RefUnwindSafe for CommsTelemetry
impl Send for CommsTelemetry
impl Sync for CommsTelemetry
impl Unpin for CommsTelemetry
impl UnwindSafe for CommsTelemetry
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