pub struct ExposedMutableGlobalsSet(_);
Expand description
A set of exposed mutable globals.
This is set of globals required to create a GlobalsSnapshot
and that are collected from
a runtime blob that was instrumented by
RuntimeBlob::expose_mutable_globals
.
If the code wasn’t instrumented then it would be empty and snapshot would do nothing.
Implementations§
source§impl ExposedMutableGlobalsSet
impl ExposedMutableGlobalsSet
sourcepub fn collect(runtime_blob: &RuntimeBlob) -> Self
pub fn collect(runtime_blob: &RuntimeBlob) -> Self
Collect the set from the given runtime blob. See the struct documentation for details.
Auto Trait Implementations§
impl RefUnwindSafe for ExposedMutableGlobalsSet
impl Send for ExposedMutableGlobalsSet
impl Sync for ExposedMutableGlobalsSet
impl Unpin for ExposedMutableGlobalsSet
impl UnwindSafe for ExposedMutableGlobalsSet
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.