Struct
SeekFile
pub struct SeekFile {
pub file: FileHandle,
pub pos: SeekFrom,
}Fields
file: FileHandlepos: SeekFromTrait Implementations
impl Archive for SeekFile
impl Archive for SeekFile
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 = ArchivedSeekFile
type Archived = ArchivedSeekFile
The archived representation of this type. Read more
type Resolver = SeekFileResolver
type Resolver = SeekFileResolver
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 Debug for SeekFile
impl Debug for SeekFile
impl<__D: Fallible + ?Sized> Deserialize<SeekFile, __D> for Archived<SeekFile>where
FileHandle: Archive,
<FileHandle as Archive>::Archived: Deserialize<FileHandle, __D>,
SeekFrom: Archive,
<SeekFrom as Archive>::Archived: Deserialize<SeekFrom, __D>,
impl<__D: Fallible + ?Sized> Deserialize<SeekFile, __D> for Archived<SeekFile>where
FileHandle: Archive,
<FileHandle as Archive>::Archived: Deserialize<FileHandle, __D>,
SeekFrom: Archive,
<SeekFrom as Archive>::Archived: Deserialize<SeekFrom, __D>,
fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<SeekFile, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<SeekFile, <__D as Fallible>::Error>
Deserializes using the given deserializer
impl MessageId for SeekFile
impl MessageId for SeekFile
const ID: MessageId = 3usize
const ID: MessageId = 3usize
unique message identifier
const SERVER: &'static str = "os/fs"
const SERVER: &'static str = "os/fs"
target server name