Struct wasmer_wasix_types::wasi::Snapshot0Filestat
source · #[repr(C)]pub struct Snapshot0Filestat {
pub st_dev: Device,
pub st_ino: Inode,
pub st_filetype: Filetype,
pub st_nlink: Snapshot0Linkcount,
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: Snapshot0Linkcount
§st_size: Filesize
§st_atim: Timestamp
§st_mtim: Timestamp
§st_ctim: Timestamp
Trait Implementations§
source§impl Clone for Snapshot0Filestat
impl Clone for Snapshot0Filestat
source§fn clone(&self) -> Snapshot0Filestat
fn clone(&self) -> Snapshot0Filestat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Snapshot0Filestat
impl Debug for Snapshot0Filestat
source§impl ValueType for Snapshot0Filestat
impl ValueType for Snapshot0Filestat
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 Snapshot0Filestat
Auto Trait Implementations§
impl RefUnwindSafe for Snapshot0Filestat
impl Send for Snapshot0Filestat
impl Sync for Snapshot0Filestat
impl Unpin for Snapshot0Filestat
impl UnwindSafe for Snapshot0Filestat
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.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.