Struct wasmer_wasi_types::wasi::Prestat
source · #[repr(C)]pub struct Prestat {
pub pr_type: Preopentype,
pub u: PrestatU,
}
Fields§
§pr_type: Preopentype
§u: PrestatU
Implementations§
Trait Implementations§
source§impl ValueType for Prestat
impl ValueType for Prestat
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 Prestat
Auto Trait Implementations§
impl RefUnwindSafe for Prestat
impl Send for Prestat
impl Sync for Prestat
impl Unpin for Prestat
impl UnwindSafe for Prestat
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