Enum
ArchivedAllowedExtensions
#[repr(u8)]pub enum ArchivedAllowedExtensionswhere
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>::ArchivedThe archived counterpart of AllowedExtensions::Specific::0
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAllowedExtensionswhere
Vec<String>: Archive,
<__C as Fallible>::Error: Source,
<Vec<String> as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAllowedExtensionswhere
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>
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