Struct
ArchivedSetLen
#[repr(C)]pub struct ArchivedSetLen{
pub handle: <FileHandle as Archive>::Archived,
pub len: <u64 as Archive>::Archived,
}Expand description
An archived SetLen
Fields
handle: <FileHandle as Archive>::ArchivedThe archived counterpart of SetLen::handle
len: <u64 as Archive>::ArchivedThe archived counterpart of SetLen::len
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSetLenwhere
FileHandle: Archive,
u64: Archive,
<__C as Fallible>::Error: Trace,
<FileHandle as Archive>::Archived: CheckBytes<__C>,
<u64 as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSetLenwhere
FileHandle: Archive,
u64: Archive,
<__C as Fallible>::Error: Trace,
<FileHandle as Archive>::Archived: CheckBytes<__C>,
<u64 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