Enum OmaSessionState
#[non_exhaustive]pub enum OmaSessionState {
Show 13 variants
Failed,
Unknown,
Started,
Retrying,
Connecting,
Connected,
Authenticated,
MdnDownloaded,
MsidDownloaded,
PrlDownloaded,
MipProfileDownloaded,
Completed,
Other(i32),
}Expand description
The state 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.
Failed
The session failed.
Unknown
The state is not known.
Started
The session started.
Retrying
The session retries.
Connecting
The session connects.
Connected
The session is connected.
Authenticated
The session is authenticated.
MdnDownloaded
The device downloaded the MDN.
MsidDownloaded
The device downloaded the MSID.
PrlDownloaded
The device downloaded the preferred roaming list.
MipProfileDownloaded
The device downloaded the MIP profile.
Completed
The session is complete.
Other(i32)
A value that this version of the crate doesn’t know.
Implementations§
§impl OmaSessionState
impl OmaSessionState
Trait Implementations§
§impl Clone for OmaSessionState
impl Clone for OmaSessionState
§fn clone(&self) -> OmaSessionState
fn clone(&self) -> OmaSessionState
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 OmaSessionState
§impl Debug for OmaSessionState
impl Debug for OmaSessionState
§impl<'de> Deserialize<'de> for OmaSessionState
impl<'de> Deserialize<'de> for OmaSessionState
§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 OmaSessionState
§impl From<OmaSessionState> for i32
impl From<OmaSessionState> for i32
§fn from(__value: OmaSessionState) -> Self
fn from(__value: OmaSessionState) -> Self
Converts to this type from the input type.
§impl From<OmaSessionState> for Value<'static>
impl From<OmaSessionState> for Value<'static>
§fn from(__value: OmaSessionState) -> Self
fn from(__value: OmaSessionState) -> Self
Converts to this type from the input type.
§impl From<i32> for OmaSessionState
impl From<i32> for OmaSessionState
§impl Hash for OmaSessionState
impl Hash for OmaSessionState
§impl PartialEq for OmaSessionState
impl PartialEq for OmaSessionState
§impl Serialize for OmaSessionState
impl Serialize for OmaSessionState
impl StructuralPartialEq for OmaSessionState
§impl TryFrom<OwnedValue> for OmaSessionState
impl TryFrom<OwnedValue> for OmaSessionState
§impl<'__a> TryFrom<Value<'__a>> for OmaSessionState
impl<'__a> TryFrom<Value<'__a>> for OmaSessionState
§impl Type for OmaSessionState
impl Type for OmaSessionState
Auto Trait Implementations§
impl Freeze for OmaSessionState
impl RefUnwindSafe for OmaSessionState
impl Send for OmaSessionState
impl Sync for OmaSessionState
impl Unpin for OmaSessionState
impl UnsafeUnpin for OmaSessionState
impl UnwindSafe for OmaSessionState
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.