Enum OmaSessionType
#[non_exhaustive]pub enum OmaSessionType {
Unknown,
ClientInitiatedDeviceConfigure,
ClientInitiatedPrlUpdate,
ClientInitiatedHandsFreeActivation,
NetworkInitiatedDeviceConfigure,
NetworkInitiatedPrlUpdate,
DeviceInitiatedPrlUpdate,
DeviceInitiatedHandsFreeActivation,
Other(u32),
}Expand description
The type of an OMA device management session.
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 session type is not known.
ClientInitiatedDeviceConfigure
The client configures the device.
ClientInitiatedPrlUpdate
The client updates the preferred roaming list.
ClientInitiatedHandsFreeActivation
The client starts a hands-free activation.
NetworkInitiatedDeviceConfigure
The network configures the device.
NetworkInitiatedPrlUpdate
The network updates the preferred roaming list.
DeviceInitiatedPrlUpdate
The device updates its preferred roaming list.
DeviceInitiatedHandsFreeActivation
The device starts a hands-free activation.
Other(u32)
A value that this version of the crate doesn’t know.
Implementations§
§impl OmaSessionType
impl OmaSessionType
Trait Implementations§
§impl Clone for OmaSessionType
impl Clone for OmaSessionType
§fn clone(&self) -> OmaSessionType
fn clone(&self) -> OmaSessionType
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 OmaSessionType
§impl Debug for OmaSessionType
impl Debug for OmaSessionType
§impl<'de> Deserialize<'de> for OmaSessionType
impl<'de> Deserialize<'de> for OmaSessionType
§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 OmaSessionType
§impl From<OmaSessionType> for u32
impl From<OmaSessionType> for u32
§fn from(__value: OmaSessionType) -> Self
fn from(__value: OmaSessionType) -> Self
Converts to this type from the input type.
§impl From<OmaSessionType> for Value<'static>
impl From<OmaSessionType> for Value<'static>
§fn from(__value: OmaSessionType) -> Self
fn from(__value: OmaSessionType) -> Self
Converts to this type from the input type.
§impl From<u32> for OmaSessionType
impl From<u32> for OmaSessionType
§impl Hash for OmaSessionType
impl Hash for OmaSessionType
§impl PartialEq for OmaSessionType
impl PartialEq for OmaSessionType
§impl Serialize for OmaSessionType
impl Serialize for OmaSessionType
impl StructuralPartialEq for OmaSessionType
§impl TryFrom<OwnedValue> for OmaSessionType
impl TryFrom<OwnedValue> for OmaSessionType
§impl<'__a> TryFrom<Value<'__a>> for OmaSessionType
impl<'__a> TryFrom<Value<'__a>> for OmaSessionType
§impl Type for OmaSessionType
impl Type for OmaSessionType
Auto Trait Implementations§
impl Freeze for OmaSessionType
impl RefUnwindSafe for OmaSessionType
impl Send for OmaSessionType
impl Sync for OmaSessionType
impl Unpin for OmaSessionType
impl UnsafeUnpin for OmaSessionType
impl UnwindSafe for OmaSessionType
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.