Enum Event
#[non_exhaustive]pub enum Event {
SysInfo(SysInfoIndication),
SigInfo(SignalInfo),
SystemSelectionPreference(SystemSelectionPreference),
}Expand description
A NAS indication.
Receive it with Client::events. Other NAS
indications are skipped. Decoding a message with another ID fails with
DecodeError::UnexpectedMessage.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SysInfo(SysInfoIndication)
QMI_NAS_SYS_INFO_IND.
SigInfo(SignalInfo)
QMI_NAS_SIG_INFO_IND.
SystemSelectionPreference(SystemSelectionPreference)
QMI_NAS_SYSTEM_SELECTION_PREFERENCE_IND.
Trait Implementations§
§impl Indication for Event
impl Indication for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl !Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more