Struct wasmer_wasi::types::WasiSubscription [−][src]
pub struct WasiSubscription { pub user_data: __wasi_userdata_t, pub event_type: EventType, }
Expand description
Safe Rust wrapper around __wasi_subscription_t
Fields
user_data: __wasi_userdata_t
event_type: EventType
Trait Implementations
type Error = __wasi_errno_t
type Error = __wasi_errno_t
The type returned in the event of a conversion error.
Performs the conversion.
type Error = __wasi_errno_t
type Error = __wasi_errno_t
The type returned in the event of a conversion error.
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