Struct
AsyncRead
pub struct AsyncRead {
pub handle: FileHandle,
pub read_len: usize,
}Fields
handle: FileHandleread_len: usizeTrait Implementations
impl Archive for AsyncRead
impl Archive for AsyncRead
const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied
directly to a writer instead of calling
serialize. Read moretype Archived = ArchivedAsyncRead
type Archived = ArchivedAsyncRead
The archived representation of this type. Read more
type Resolver = AsyncReadResolver
type Resolver = AsyncReadResolver
The resolver for this type. It must contain all the additional
information from serializing needed to make the archived type from
the normal type.
impl BlockingArchive for AsyncRead
impl BlockingArchive for AsyncRead
type Response = Result<Vec<u8>, Error>
type Response = Result<Vec<u8>, Error>
response type for this message
impl Debug for AsyncRead
impl Debug for AsyncRead
impl<__D: Fallible + ?Sized> Deserialize<AsyncRead, __D> for Archived<AsyncRead>where
FileHandle: Archive,
<FileHandle as Archive>::Archived: Deserialize<FileHandle, __D>,
usize: Archive,
<usize as Archive>::Archived: Deserialize<usize, __D>,
impl<__D: Fallible + ?Sized> Deserialize<AsyncRead, __D> for Archived<AsyncRead>where
FileHandle: Archive,
<FileHandle as Archive>::Archived: Deserialize<FileHandle, __D>,
usize: Archive,
<usize as Archive>::Archived: Deserialize<usize, __D>,
fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<AsyncRead, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<AsyncRead, <__D as Fallible>::Error>
Deserializes using the given deserializer
impl MessageId for AsyncRead
impl MessageId for AsyncRead
const ID: MessageId = 25usize
const ID: MessageId = 25usize
unique message identifier
const SERVER: &'static str = "os/fs"
const SERVER: &'static str = "os/fs"
target server name