Enum wasmer_wasi_types::wasi::SubscriptionEnum
source · pub enum SubscriptionEnum {
Clock(SubscriptionClock),
Read(SubscriptionFsReadwrite),
Write(SubscriptionFsReadwrite),
}
Expand description
The contents of a subscription
.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SubscriptionEnum
impl Clone for SubscriptionEnum
source§fn clone(&self) -> SubscriptionEnum
fn clone(&self) -> SubscriptionEnum
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 SubscriptionEnum
impl Debug for SubscriptionEnum
source§impl From<Snapshot0SubscriptionEnum> for SubscriptionEnum
impl From<Snapshot0SubscriptionEnum> for SubscriptionEnum
source§fn from(other: Snapshot0SubscriptionEnum) -> Self
fn from(other: Snapshot0SubscriptionEnum) -> Self
Converts to this type from the input type.
source§impl ValueType for SubscriptionEnum
impl ValueType for SubscriptionEnum
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 SubscriptionEnum
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionEnum
impl Send for SubscriptionEnum
impl Sync for SubscriptionEnum
impl Unpin for SubscriptionEnum
impl UnwindSafe for SubscriptionEnum
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