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

Enum

ArchivedGetMetadata

#[repr(u8)]
pub enum ArchivedGetMetadata
where String: Archive, Location: Archive, FileHandle: Archive,
{ Path { path: <String as Archive>::Archived, location: <Location as Archive>::Archived, }, Handle { handle: <FileHandle as Archive>::Archived, }, }
Expand description

An archived GetMetadata

Variants

Path

The archived counterpart of GetMetadata::Path

Fields

path: <String as Archive>::Archived

The archived counterpart of GetMetadata::Path::path

location: <Location as Archive>::Archived

The archived counterpart of GetMetadata::Path::location

Handle

The archived counterpart of GetMetadata::Handle

Fields

handle: <FileHandle as Archive>::Archived

The archived counterpart of GetMetadata::Handle::handle

Trait Implementations

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

Auto Trait Implementations

impl Freeze for ArchivedGetMetadata

impl RefUnwindSafe for ArchivedGetMetadata

impl Send for ArchivedGetMetadata

impl Sync for ArchivedGetMetadata

impl !Unpin for ArchivedGetMetadata

impl !UnsafeUnpin for ArchivedGetMetadata

impl UnwindSafe for ArchivedGetMetadata