kos_sys::dc::modemEnum modemEvent_t
Source #[repr(C)]
pub enum modemEvent_t {
MODEM_EVENT_CONNECTION_FAILED = 0,
MODEM_EVENT_CONNECTED = 1,
MODEM_EVENT_DISCONNECTED = 2,
MODEM_EVENT_RX_NOT_EMPTY = 3,
MODEM_EVENT_OVERFLOW = 4,
MODEM_EVENT_TX_EMPTY = 5,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.