pub enum Type {
BrownOut,
AutomaticSoftware,
Manual,
Watchdog,
}
Get Number of Brown-out Resets
Get Number of Automatic Software Resets
If the on-board microcontroller has experienced a malfunction, such as being stuck
in a loop, it will reset itself into a pre-defined initial state.
Get Number of Manual Resets
This is the count of the number of times the device has been manually reset using
the Reset command.
Get Number of Communications Watchdog Resets
The device will reset itself if it does not receive any
data via i2c for a predefined length of time. The communications node keeps a count
of the number of times such an event has taken place.
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given [Hasher
]. Read more
Feeds a slice of this type into the given [Hasher
]. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more