#[non_exhaustive]pub enum ResultState {
OK,
USER_REFUSED,
TIMEOUT,
DOCUMENT_UNUSABLE,
WRONG_VC,
REQUIRED_INTERACTION_NOT_SUPPORTED_BY_APP,
USER_REFUSED_CERT_CHOICE,
USER_REFUSED_DISPLAYTEXTANDPIN,
USER_REFUSED_VC_CHOICE,
USER_REFUSED_CONFIRMATIONMESSAGE,
USER_REFUSED_CONFIRMATIONMESSAGE_WITH_VC_CHOICE,
UNKNOWN,
}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.
OK
USER_REFUSED
TIMEOUT
DOCUMENT_UNUSABLE
WRONG_VC
REQUIRED_INTERACTION_NOT_SUPPORTED_BY_APP
USER_REFUSED_CERT_CHOICE
USER_REFUSED_DISPLAYTEXTANDPIN
USER_REFUSED_VC_CHOICE
USER_REFUSED_CONFIRMATIONMESSAGE
USER_REFUSED_CONFIRMATIONMESSAGE_WITH_VC_CHOICE
UNKNOWN
Trait Implementations§
source§impl Clone for ResultState
impl Clone for ResultState
source§fn clone(&self) -> ResultState
fn clone(&self) -> ResultState
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ResultState
impl Debug for ResultState
source§impl<'de> Deserialize<'de> for ResultState
impl<'de> Deserialize<'de> for ResultState
source§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
source§impl From<String> for ResultState
impl From<String> for ResultState
source§impl PartialEq for ResultState
impl PartialEq for ResultState
source§impl Serialize for ResultState
impl Serialize for ResultState
impl StructuralPartialEq for ResultState
Auto Trait Implementations§
impl Freeze for ResultState
impl RefUnwindSafe for ResultState
impl Send for ResultState
impl Sync for ResultState
impl Unpin for ResultState
impl UnwindSafe for ResultState
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)