Struct wasmer_wasi::types::WasiSubscription [−][src]
Expand description
Safe Rust wrapper around __wasi_subscription_t
Fields
user_data: u64
event_type: EventType
Trait Implementations
pub fn try_from(
ws: WasiSubscription
) -> Result<__wasi_subscription_t, <__wasi_subscription_t as TryFrom<WasiSubscription>>::Error>
[src]
pub fn try_from(
ws: WasiSubscription
) -> Result<__wasi_subscription_t, <__wasi_subscription_t as TryFrom<WasiSubscription>>::Error>
[src]Performs the conversion.
pub fn try_from(
ws: __wasi_subscription_t
) -> Result<WasiSubscription, <WasiSubscription as TryFrom<__wasi_subscription_t>>::Error>
[src]
pub fn try_from(
ws: __wasi_subscription_t
) -> Result<WasiSubscription, <WasiSubscription as TryFrom<__wasi_subscription_t>>::Error>
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for WasiSubscription
impl Send for WasiSubscription
impl Sync for WasiSubscription
impl Unpin for WasiSubscription
impl UnwindSafe for WasiSubscription
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