Struct wasmer_wasi::Fd [−][src]
pub struct Fd { pub rights: __wasi_rights_t, pub rights_inheriting: __wasi_rights_t, pub flags: __wasi_fdflags_t, pub offset: u64, pub open_flags: u16, pub inode: Inode, }
Fields
rights: __wasi_rights_t
rights_inheriting: __wasi_rights_t
flags: __wasi_fdflags_t
offset: u64
open_flags: u16
Flags that determine how the Fd
can be used.
Used when reopening a [HostFile
] during WasiState
deserialization.
inode: Inode
Implementations
This Fd
can append in write system calls. Note that the append
permission implies the write permission.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more