Enum Modem3gppRegistrationState
#[non_exhaustive]pub enum Modem3gppRegistrationState {
Show 13 variants
Idle,
Home,
Searching,
Denied,
Unknown,
Roaming,
HomeSmsOnly,
RoamingSmsOnly,
EmergencyOnly,
HomeCsfbNotPreferred,
RoamingCsfbNotPreferred,
AttachedRlos,
Other(u32),
}Expand description
The 3GPP registration state.
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.
Idle
Not registered and not searching.
Home
Registered on the home network.
Searching
Not registered and searching for a network.
Denied
The network denied the registration.
Unknown
The state is not known.
Roaming
Registered on a roaming network.
HomeSmsOnly
Registered on the home network for SMS only.
RoamingSmsOnly
Registered on a roaming network for SMS only.
EmergencyOnly
Registered for emergency services only.
HomeCsfbNotPreferred
Registered on the home network, without a preference for CS fallback.
RoamingCsfbNotPreferred
Registered on a roaming network, without a preference for CS fallback.
AttachedRlos
Attached for restricted local operator services.
Added in ModemManager 1.14.
Other(u32)
A value that this version of the crate doesn’t know.
Implementations§
Trait Implementations§
§impl Clone for Modem3gppRegistrationState
impl Clone for Modem3gppRegistrationState
§fn clone(&self) -> Modem3gppRegistrationState
fn clone(&self) -> Modem3gppRegistrationState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Modem3gppRegistrationState
§impl Debug for Modem3gppRegistrationState
impl Debug for Modem3gppRegistrationState
§impl<'de> Deserialize<'de> for Modem3gppRegistrationState
impl<'de> Deserialize<'de> for Modem3gppRegistrationState
§fn deserialize<D>(__deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(__deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Modem3gppRegistrationState
§impl From<Modem3gppRegistrationState> for u32
impl From<Modem3gppRegistrationState> for u32
§fn from(__value: Modem3gppRegistrationState) -> Self
fn from(__value: Modem3gppRegistrationState) -> Self
Converts to this type from the input type.
§impl From<Modem3gppRegistrationState> for Value<'static>
impl From<Modem3gppRegistrationState> for Value<'static>
§fn from(__value: Modem3gppRegistrationState) -> Self
fn from(__value: Modem3gppRegistrationState) -> Self
Converts to this type from the input type.
§impl From<u32> for Modem3gppRegistrationState
impl From<u32> for Modem3gppRegistrationState
§impl Hash for Modem3gppRegistrationState
impl Hash for Modem3gppRegistrationState
§impl PartialEq for Modem3gppRegistrationState
impl PartialEq for Modem3gppRegistrationState
§impl Serialize for Modem3gppRegistrationState
impl Serialize for Modem3gppRegistrationState
impl StructuralPartialEq for Modem3gppRegistrationState
§impl TryFrom<OwnedValue> for Modem3gppRegistrationState
impl TryFrom<OwnedValue> for Modem3gppRegistrationState
§impl<'__a> TryFrom<Value<'__a>> for Modem3gppRegistrationState
impl<'__a> TryFrom<Value<'__a>> for Modem3gppRegistrationState
§impl Type for Modem3gppRegistrationState
impl Type for Modem3gppRegistrationState
Auto Trait Implementations§
impl Freeze for Modem3gppRegistrationState
impl RefUnwindSafe for Modem3gppRegistrationState
impl Send for Modem3gppRegistrationState
impl Sync for Modem3gppRegistrationState
impl Unpin for Modem3gppRegistrationState
impl UnsafeUnpin for Modem3gppRegistrationState
impl UnwindSafe for Modem3gppRegistrationState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.