Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

ArchivedAsyncRead

#[repr(C)]
pub struct ArchivedAsyncRead
where FileHandle: Archive, usize: Archive,
{ pub handle: <FileHandle as Archive>::Archived, pub read_len: <usize as Archive>::Archived, }
Expand description

An archived AsyncRead

Fields

handle: <FileHandle as Archive>::Archived

The archived counterpart of AsyncRead::handle

read_len: <usize as Archive>::Archived

The archived counterpart of AsyncRead::read_len

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAsyncRead
where 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>

Checks whether the given pointer points to a valid value within the given context. Read more

impl Portable for ArchivedAsyncRead
where FileHandle: Archive, usize: Archive, <FileHandle as Archive>::Archived: Portable, <usize as Archive>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedAsyncRead

impl RefUnwindSafe for ArchivedAsyncRead

impl Send for ArchivedAsyncRead

impl Sync for ArchivedAsyncRead

impl Unpin for ArchivedAsyncRead

impl UnsafeUnpin for ArchivedAsyncRead

impl UnwindSafe for ArchivedAsyncRead