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