pub enum CgevEvent {
Show 19 variants
Reject {
pdp_type: String,
pdp_addr: String,
},
NwReact {
pdp_type: String,
pdp_addr: String,
cid: Option<u32>,
},
NwDeactPdp {
pdp_type: String,
pdp_addr: String,
cid: Option<u32>,
},
MeDeactPdp {
pdp_type: String,
pdp_addr: String,
cid: Option<u32>,
},
NwPdnAct {
cid: u32,
},
MePdnAct {
cid: u32,
reason: Option<u32>,
cid_other: Option<u32>,
},
NwPdnDeact {
cid: u32,
},
MePdnDeact {
cid: u32,
},
NwAct {
p_cid: u32,
cid: u32,
event_type: u32,
},
MeAct {
p_cid: u32,
cid: u32,
event_type: u32,
},
NwDeact {
p_cid: u32,
cid: u32,
event_type: u32,
},
MeDeact {
p_cid: u32,
cid: u32,
event_type: u32,
},
NwModify {
cid: u32,
change_reason: u32,
event_type: u32,
},
MeModify {
cid: u32,
change_reason: u32,
event_type: u32,
},
NwDetach,
MeDetach,
NwClass {
class: String,
},
MeClass {
class: String,
},
Other,
}Expand description
A +CGEV event. Old-style address forms (NW DEACT <PDP_type>,<PDP_addr>[,<cid>]) and
the current cid forms are both decoded; anything else is CgevEvent::Other.
Variants§
Reject
REJECT <PDP_type>,<PDP_addr>
NwReact
NW REACT <PDP_type>,<PDP_addr>[,<cid>]
NwDeactPdp
NW DEACT <PDP_type>,<PDP_addr>[,<cid>]
MeDeactPdp
ME DEACT <PDP_type>,<PDP_addr>[,<cid>]
NwPdnAct
NW PDN ACT <cid>[,<WLAN_Offload>]
MePdnAct
ME PDN ACT <cid>[,<reason>[,<cid_other>]]
NwPdnDeact
NW PDN DEACT <cid>[,<WLAN_Offload>]
MePdnDeact
ME PDN DEACT <cid>
NwAct
NW ACT <p_cid>,<cid>,<event_type>[,<WLAN_Offload>]
MeAct
ME ACT <p_cid>,<cid>,<event_type>[,<WLAN_Offload>]
NwDeact
NW DEACT <p_cid>,<cid>,<event_type>[,<WLAN_Offload>]
MeDeact
ME DEACT <p_cid>,<cid>,<event_type>
NwModify
NW MODIFY <cid>,<change_reason>,<event_type>[,<WLAN_Offload>]
MeModify
ME MODIFY <cid>,<change_reason>,<event_type>[,<WLAN_Offload>]
NwDetach
NW DETACH
MeDetach
ME DETACH
NwClass
NW CLASS <class>
MeClass
ME CLASS <class>
Other
Anything else (vendor or newer events).