Enum
ArchivedAllowedLocations
#[repr(u8)]pub enum ArchivedAllowedLocationswhere
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>::ArchivedThe archived counterpart of AllowedLocations::Specific::0
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAllowedLocations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAllowedLocations
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