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

Enum

ArchivedAllowedExtensions

#[repr(u8)]
pub enum ArchivedAllowedExtensions
where Vec<String>: Archive,
{ All, Specific(<Vec<String> as Archive>::Archived), }
Expand description

An archived AllowedExtensions

Variants

All

The archived counterpart of AllowedExtensions::All

Specific(<Vec<String> as Archive>::Archived)

The archived counterpart of AllowedExtensions::Specific

Tuple Fields

0: <Vec<String> as Archive>::Archived

The archived counterpart of AllowedExtensions::Specific::0

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAllowedExtensions
where Vec<String>: Archive, <__C as Fallible>::Error: Source, <Vec<String> 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 ArchivedAllowedExtensions
where Vec<String>: Archive, <Vec<String> as Archive>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedAllowedExtensions

impl RefUnwindSafe for ArchivedAllowedExtensions

impl Send for ArchivedAllowedExtensions

impl Sync for ArchivedAllowedExtensions

impl !Unpin for ArchivedAllowedExtensions

impl !UnsafeUnpin for ArchivedAllowedExtensions

impl UnwindSafe for ArchivedAllowedExtensions