Enum Modem3gppDrxCycle
#[non_exhaustive]pub enum Modem3gppDrxCycle {
Unknown,
Unsupported,
Cycle32,
Cycle64,
Cycle128,
Cycle256,
Other(u32),
}Expand description
The DRX cycle of a 5G device.
Added in ModemManager 1.20.
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.
Unknown
The cycle is not known.
Unsupported
The device does not support DRX settings.
Cycle32
A DRX cycle of 32.
Cycle64
A DRX cycle of 64.
Cycle128
A DRX cycle of 128.
Cycle256
A DRX cycle of 256.
Other(u32)
A value that this version of the crate doesn’t know.
Implementations§
§impl Modem3gppDrxCycle
impl Modem3gppDrxCycle
Trait Implementations§
§impl Clone for Modem3gppDrxCycle
impl Clone for Modem3gppDrxCycle
§fn clone(&self) -> Modem3gppDrxCycle
fn clone(&self) -> Modem3gppDrxCycle
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 Modem3gppDrxCycle
§impl Debug for Modem3gppDrxCycle
impl Debug for Modem3gppDrxCycle
§impl<'de> Deserialize<'de> for Modem3gppDrxCycle
impl<'de> Deserialize<'de> for Modem3gppDrxCycle
§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 Modem3gppDrxCycle
§impl From<Modem3gppDrxCycle> for u32
impl From<Modem3gppDrxCycle> for u32
§fn from(__value: Modem3gppDrxCycle) -> Self
fn from(__value: Modem3gppDrxCycle) -> Self
Converts to this type from the input type.
§impl From<Modem3gppDrxCycle> for Value<'static>
impl From<Modem3gppDrxCycle> for Value<'static>
§fn from(__value: Modem3gppDrxCycle) -> Self
fn from(__value: Modem3gppDrxCycle) -> Self
Converts to this type from the input type.
§impl From<u32> for Modem3gppDrxCycle
impl From<u32> for Modem3gppDrxCycle
§impl Hash for Modem3gppDrxCycle
impl Hash for Modem3gppDrxCycle
§impl PartialEq for Modem3gppDrxCycle
impl PartialEq for Modem3gppDrxCycle
§impl Serialize for Modem3gppDrxCycle
impl Serialize for Modem3gppDrxCycle
impl StructuralPartialEq for Modem3gppDrxCycle
§impl TryFrom<OwnedValue> for Modem3gppDrxCycle
impl TryFrom<OwnedValue> for Modem3gppDrxCycle
§impl<'__a> TryFrom<Value<'__a>> for Modem3gppDrxCycle
impl<'__a> TryFrom<Value<'__a>> for Modem3gppDrxCycle
§impl Type for Modem3gppDrxCycle
impl Type for Modem3gppDrxCycle
Auto Trait Implementations§
impl Freeze for Modem3gppDrxCycle
impl RefUnwindSafe for Modem3gppDrxCycle
impl Send for Modem3gppDrxCycle
impl Sync for Modem3gppDrxCycle
impl Unpin for Modem3gppDrxCycle
impl UnsafeUnpin for Modem3gppDrxCycle
impl UnwindSafe for Modem3gppDrxCycle
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.