Struct wasmer_wasi_types::wasi::Filestat
source · #[repr(C)]pub struct Filestat {
pub st_dev: Device,
pub st_ino: Inode,
pub st_filetype: Filetype,
pub st_nlink: Linkcount,
pub st_size: Filesize,
pub st_atim: Timestamp,
pub st_mtim: Timestamp,
pub st_ctim: Timestamp,
}
Fields§
§st_dev: Device
§st_ino: Inode
§st_filetype: Filetype
§st_nlink: Linkcount
§st_size: Filesize
§st_atim: Timestamp
§st_mtim: Timestamp
§st_ctim: Timestamp
Trait Implementations§
source§impl ValueType for Filestat
impl ValueType for Filestat
source§fn zero_padding_bytes(&self, _bytes: &mut [MaybeUninit<u8>])
fn zero_padding_bytes(&self, _bytes: &mut [MaybeUninit<u8>])
This method is passed a byte slice which contains the byte
representation of
self
. It must zero out any bytes which are
uninitialized (e.g. padding bytes).impl Copy for Filestat
Auto Trait Implementations§
impl RefUnwindSafe for Filestat
impl Send for Filestat
impl Sync for Filestat
impl Unpin for Filestat
impl UnwindSafe for Filestat
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer