Struct wasmer_vm::TlsRestore [−][src]
pub struct TlsRestore(_);
Expand description
Opaque state used to help control TLS state across stack switches for async support.
Implementations
Takes the TLS state that is currently configured and returns a token that is used to replace it later.
Safety
This is not a safe operation since it’s intended to only be used with stack switching found with fibers and async wasmer.
Auto Trait Implementations
impl !RefUnwindSafe for TlsRestore
impl !Send for TlsRestore
impl !Sync for TlsRestore
impl Unpin for TlsRestore
impl !UnwindSafe for TlsRestore
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