Enum
ArchivedGetMetadata
#[repr(u8)]pub enum ArchivedGetMetadata{
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>::ArchivedThe archived counterpart of GetMetadata::Path::path
location: <Location as Archive>::ArchivedThe archived counterpart of GetMetadata::Path::location
Handle
The archived counterpart of GetMetadata::Handle
Fields
handle: <FileHandle as Archive>::ArchivedThe archived counterpart of GetMetadata::Handle::handle
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetMetadatawhere
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>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetMetadatawhere
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>
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