[−][src]Struct nsl_duplex_d2::StateOfHealth
Struct for storing state of health records
Fields
reset_count: u32
(4 byte integer) Current epoch reset count, starts at 0, incremented for each power system reset, persistent over the life of the mission
current_time: u32
(4 byte integer) Current time (seconds) from start of most recent reset
current_rssi: u8
(1 byte integer) Current RSSI (Received Signal Strength Indicator), 0 to 4
connection_status: u8
(1 byte integer) Connection status, 0 (connected) or 1 (disconnected)
globalstar_gateway: u8
(1 byte integer) Globalstar gateway connected to, proprietary ID, 0 to 255
last_contact_time: u32
(4 byte integer) Last contact time, seconds since latest reset
last_attempt_time: u32
(4 byte integer) Last attempt time, seconds since latest reset
call_attempts_since_reset: u32
(4 byte integer) Count of call attempts since latest reset
successful_connects_since_reset: u32
(4 byte integer) Count of successful connects since latest reset
average_connection_duration: u32
(4 byte integer) Average connection duration (seconds)
connection_duration_std_dev: u32
(4 byte integer) Connection duration standard deviation (seconds)
Methods
impl StateOfHealth
[src]
pub fn parse(input: &[u8]) -> IResult<&[u8], StateOfHealth>
[src]
Parse StateOfHealth from the serial line.
Trait Implementations
impl PartialEq<StateOfHealth> for StateOfHealth
[src]
fn eq(&self, other: &StateOfHealth) -> bool
[src]
fn ne(&self, other: &StateOfHealth) -> bool
[src]
impl Debug for StateOfHealth
[src]
Auto Trait Implementations
impl Unpin for StateOfHealth
impl Sync for StateOfHealth
impl Send for StateOfHealth
impl UnwindSafe for StateOfHealth
impl RefUnwindSafe for StateOfHealth
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,