Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Enum

ArchivedPermissionRequestInfoResult

#[repr(u8)]
pub enum ArchivedPermissionRequestInfoResult
where PermissionRequestInfo: Archive,
{ Prompt(<PermissionRequestInfo as Archive>::Archived), AlreadyApproved, Denied, NotGrantable, AppNotFound, Unauthorized, InternalError, }
Expand description

Variants

Prompt(<PermissionRequestInfo as Archive>::Archived)

The archived counterpart of PermissionRequestInfoResult::Prompt

Tuple Fields

0: <PermissionRequestInfo as Archive>::Archived

The archived counterpart of PermissionRequestInfoResult::Prompt::0

AlreadyApproved

Denied

The archived counterpart of PermissionRequestInfoResult::Denied

NotGrantable

The archived counterpart of PermissionRequestInfoResult::NotGrantable

AppNotFound

The archived counterpart of PermissionRequestInfoResult::AppNotFound

Unauthorized

The archived counterpart of PermissionRequestInfoResult::Unauthorized

InternalError

The archived counterpart of PermissionRequestInfoResult::InternalError

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPermissionRequestInfoResult
where PermissionRequestInfo: Archive, <__C as Fallible>::Error: Source, <PermissionRequestInfo as Archive>::Archived: CheckBytes<__C>,

unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the given context. Read more

impl Portable for ArchivedPermissionRequestInfoResult
where PermissionRequestInfo: Archive, <PermissionRequestInfo as Archive>::Archived: Portable,

Auto Trait Implementations