Enum
ArchivedGetAppName
#[repr(u8)]pub enum ArchivedGetAppNamewhere
WithAppId: ArchiveWith<AppId>,
String: Archive,
PID: Archive,{
ByAppId {
id: <WithAppId as ArchiveWith<AppId>>::Archived,
locale: <String as Archive>::Archived,
},
ByPid {
pid: <PID as Archive>::Archived,
locale: <String as Archive>::Archived,
},
}Expand description
An archived GetAppName
Variants
ByAppId
The archived counterpart of GetAppName::ByAppId
Fields
id: <WithAppId as ArchiveWith<AppId>>::ArchivedThe archived counterpart of GetAppName::ByAppId::id
locale: <String as Archive>::ArchivedThe archived counterpart of GetAppName::ByAppId::locale
ByPid
The archived counterpart of GetAppName::ByPid
Fields
pid: <PID as Archive>::ArchivedThe archived counterpart of GetAppName::ByPid::pid
locale: <String as Archive>::ArchivedThe archived counterpart of GetAppName::ByPid::locale
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetAppNamewhere
WithAppId: ArchiveWith<AppId>,
String: Archive,
PID: Archive,
<__C as Fallible>::Error: Source,
<WithAppId as ArchiveWith<AppId>>::Archived: CheckBytes<__C>,
<String as Archive>::Archived: CheckBytes<__C>,
<PID as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGetAppNamewhere
WithAppId: ArchiveWith<AppId>,
String: Archive,
PID: Archive,
<__C as Fallible>::Error: Source,
<WithAppId as ArchiveWith<AppId>>::Archived: CheckBytes<__C>,
<String as Archive>::Archived: CheckBytes<__C>,
<PID 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