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

Enum

ArchivedAllowedLocations

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

An archived AllowedLocations

Variants

All

The archived counterpart of AllowedLocations::All

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

The archived counterpart of AllowedLocations::Specific

Tuple Fields

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

The archived counterpart of AllowedLocations::Specific::0

Trait Implementations

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

Auto Trait Implementations

impl Freeze for ArchivedAllowedLocations

impl RefUnwindSafe for ArchivedAllowedLocations

impl Send for ArchivedAllowedLocations

impl Sync for ArchivedAllowedLocations

impl !Unpin for ArchivedAllowedLocations

impl !UnsafeUnpin for ArchivedAllowedLocations

impl UnwindSafe for ArchivedAllowedLocations