Docs.rs
  • wasmtime-environ-33.0.0
    • wasmtime-environ 33.0.0
    • Permalink
    • Docs.rs crate page
    • Apache-2.0 WITH LLVM-exception
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • alexcrichton
    • sunfishcode
    • github:bytecodealliance:wasmtime-publish
    • Dependencies
      • anyhow ^1.0.93 normal
      • cpp_demangle ^0.4.3 normal optional
      • cranelift-bitset ^0.120.0 normal
      • cranelift-entity ^0.120.0 normal
      • gimli ^0.31.0 normal
      • indexmap ^2.0.0 normal
      • log ^0.4.8 normal
      • object ^0.36.5 normal
      • postcard ^1.0.8 normal
      • rustc-demangle ^0.1.16 normal optional
      • semver ^1.0.17 normal optional
      • serde ^1.0.215 normal
      • serde_derive ^1.0.188 normal
      • smallvec ^1.6.1 normal
      • target-lexicon ^0.13.0 normal
      • wasm-encoder ^0.229.0 normal optional
      • wasmparser ^0.229.0 normal
      • wasmprinter ^0.229.0 normal optional
      • wasmtime-component-util =33.0.0 normal optional
      • clap ^4.5.17 dev
      • env_logger ^0.11.5 dev
      • object ^0.36.5 dev
      • wat ^1.229.0 dev
    • Versions
    • 73.02% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate wasmtime_environ

wasmtime_environ33.0.0

  • All Items

Crate Items

  • Re-exports
  • Modules
  • Macros
  • Structs
  • Enums
  • Constants
  • Traits
  • Functions
  • Type Aliases

Crates

  • wasmtime_environ

Crate wasmtime_environ

Source
Expand description

Internal dependency of the wasmtime crate.

This crate is responsible for defining types and basic runtime structures used by the wasmtime crate. This additionally defines primitives of compilation and what compilers are expected to emit.

If you don’t already know what this crate is you probably want to use wasmtime, not this crate.

Re-exports§

pub use object;
pub use wasmparser;

Modules§

__core
The Rust Core Library
component
Support for the component model in Wasmtime.
drc
Layout of Wasm GC objects in the deferred reference-counting collector.
fact
Wasmtime’s Fused Adapter Compiler of Trampolines (FACT)
null
Layout of Wasm GC objects in the null garbage collector.
obj
Utilities for working with object files that operate as Wasmtime’s serialization and intermediate format for compiled modules.
packed_option
Compact representation of Option<T> for types with a reserved value.
prelude
Rust module prelude for Wasmtime crates.

Macros§

entity_impl
Macro which provides the common implementation of a 32-bit entity reference.
foreach_builtin_component_function
Helper macro, like foreach_transcoder, to iterate over builtins for components unrelated to transcoding.
foreach_builtin_function
Helper macro to iterate over all builtin functions and their signatures.
wasm_unsupported
Return an Err(WasmError::Unsupported(msg)) where msg the string built by calling format! on the arguments to this macro.

Structs§

AddressMapSection
Builder for the address map section of a wasmtime compilation image.
BoxedSlice
A slice mapping K -> V allocating dense entity references.
BuiltinFunctionIndex
An index type for builtin functions.
CompiledFunctionBody
The result of compiling a single function body.
CompiledFunctionInfo
Secondary in-memory results of function compilation.
CompiledModuleInfo
Secondary in-memory results of module compilation.
ConfigTunables
Optional tunable configuration options used in wasmtime::Config
ConstExpr
A constant expression.
DataIndex
Index type of a passive data segment inside the WebAssembly module.
DebugInfoData
DefinedFuncIndex
Index type of a defined function inside the WebAssembly module.
DefinedGlobalIndex
Index type of a defined global inside the WebAssembly module.
DefinedMemoryIndex
Index type of a defined memory inside the WebAssembly module.
DefinedTableIndex
Index type of a defined table inside the WebAssembly module.
DefinedTagIndex
Index type of a defined tag inside the WebAssembly module.
ElemIndex
Index type of a passive element segment inside the WebAssembly module.
EngineInternedRecGroupIndex
Index type of a canonicalized recursive type group inside the whole engine (as opposed to canonicalized within just a single Wasm module).
EntityList
A small list of entity references allocated from a pool.
EntitySet
A set of K for densely indexed entity references.
FilePos
A position within an original source file,
FuncIndex
Index type of a function (imported or defined) inside the WebAssembly module.
FuncRefIndex
Index into the funcref table within a VMContext for a function.
FunctionBodyData
Contains function data: byte code and its offset in the module.
FunctionLoc
Description of where a function is located in the text section of a compiled image.
FunctionMetadata
FunctionName
The name of a function stored in the ELF_NAME_DATA section.
FunctionType
Type information about functions in a wasm module.
GcArrayLayout
The layout of a GC-managed array.
GcStructLayout
The layout for a GC-managed struct type.
GcStructLayoutField
A field in a GcStructLayout.
Global
A WebAssembly global.
GlobalIndex
Index type of a global variable (imported or defined) inside the WebAssembly module.
HostPtr
Type representing the size of a pointer for the current compilation host
InstructionAddressMap
Single source location to generated address mapping.
Iter
Iterate over all keys in order.
IterEntityRange
Iterator type returned by iter_entity_range.
IterMut
Iterate over all keys in order.
Keys
Iterate over all keys in order.
Limits
The size range of resizeable storage associated with Memory types and Table types.
ListPool
A memory pool for storing lists of T.
Memory
WebAssembly linear memory.
MemoryIndex
Index type of a linear memory (imported or defined) inside the WebAssembly module.
MemoryInitializer
A WebAssembly linear memory initializer.
Metadata
Metadata associated with a compiled ELF artifact.
Module
A translated WebAssembly module, excluding the function bodies and memory initializers.
ModuleEnvironment
Object containing the standalone environment information.
ModuleInternedRecGroupIndex
Index type of a canonicalized recursive type group inside a WebAssembly module (as opposed to canonicalized within the whole engine).
ModuleInternedTypeIndex
A canonicalized type index for a type within a single WebAssembly module.
ModuleTranslation
The result of translating via ModuleEnvironment. Function bodies are not yet translated, and data initializers have not yet been copied out of the original buffer.
ModuleTypes
All types used in a core wasm module.
ModuleTypesBuilder
A builder for ModuleTypes.
NameSection
ObjectBuilder
Helper structure to create an ELF file as a compilation artifact.
OwnedMemoryIndex
Index type of a defined memory inside the WebAssembly module.
PrimaryMap
A primary mapping K -> V allocating dense entity references.
RecGroupRelativeTypeIndex
A canonicalized type index referencing a type within a single recursion group from another type within that same recursion group.
ScopeVec
Small data structure to help extend the lifetime of a slice to a higher scope.
SecondaryMap
A mapping K -> V for densely indexed entity references.
SetIter
An iterator over the elements in an EntitySet.
Setting
Description of compiler settings returned by CompilerBuilder::settings.
SizeOverflow
SparseMap
A sparse mapping of entity references.
StackMap
A map for determining where live GC references live in a stack frame.
StackMapSection
Builder for the ELF_WASMTIME_STACK_MAP section in compiled executables.
StaticMemoryInitializer
Similar to the above MemoryInitializer but only used when memory initializers are statically known to be valid.
StaticModuleIndex
Index into the global list of modules found within an entire component.
Table
WebAssembly table.
TableIndex
Index type of a table (imported or defined) inside the WebAssembly module.
TableInitialization
Table initialization data for all tables in the module.
TableSegment
A WebAssembly table initializer segment.
Tag
WebAssembly exception and control tag.
TagIndex
Index type of an event inside the WebAssembly module.
TrapEncodingBuilder
A helper structure to build the custom-encoded section of a wasmtime compilation image which encodes trap information.
TrapInformation
Information about trap.
Tunables
Tunable parameters for WebAssembly compilation.
TypeIndex
Index type of a type (imported or defined) inside the WebAssembly module.
VMOffsets
This class computes offsets to fields within VMContext and other related structs that JIT code accesses directly.
VMOffsetsFields
Used to construct a VMOffsets
VMSharedTypeIndex
A canonicalized type index into an engine’s shared type registry.
WasmArrayType
A concrete array type.
WasmCompositeType
WasmContType
WebAssembly continuation type – equivalent of wasmparser’s ContType.
WasmFieldType
The type of a struct field or array element.
WasmFileInfo
WasmFuncType
WebAssembly function type – equivalent of wasmparser’s FuncType.
WasmRecGroup
A recursive type group.
WasmRefType
WebAssembly reference type – equivalent of wasmparser’s RefType
WasmStructType
A concrete struct type.
WasmSubType
A concrete, user-defined (or host-defined) Wasm type.
WasmparserTypeConverter
A convert from wasmparser types to Wasmtime types.

Enums§

Collector
The garbage collector implementation to use.
CompileError
An error while compiling WebAssembly to machine code.
ConstOp
The subset of Wasm opcodes that are constant.
EngineOrModuleTypeIndex
An interned type index, either at the module or engine level.
EntityIndex
An index of an entity.
EntityType
A type of an item in a wasm module where an item is typically something that can be exported.
FlagValue
Value of a configured setting for a Compiler
GcLayout
The layout of a GC-managed object.
HostCall
Enumeration of all possible ways that wasm may execute code in the host.
IndexType
The type that can be used to index into Memory and Table.
Initializer
Initialization routines for creating an instance, encompassing imports, modules, instances, aliases, etc.
MemoryInitialization
The type of WebAssembly linear memory initialization to use for a module.
ObjectKind
Types of objects that can be created by Compiler::object
RelocationTarget
What relocations can be applied against.
SettingKind
Different kinds of Setting values that can be configured in a CompilerBuilder
TableInitialValue
Initial value for all elements in a table.
TableSegmentElements
Elements of a table segment, either a list of functions or list of arbitrary expressions.
Trap
TrapSentinel
Return value of BuiltinFunctionIndex::trap_sentinel.
VMGcKind
The kind of an object in a GC heap.
WasmCompositeInnerType
A function, array, or struct type.
WasmError
A WebAssembly translation error.
WasmHeapBottomType
A bottom heap type.
WasmHeapTopType
A top heap type.
WasmHeapType
WebAssembly heap type – equivalent of wasmparser’s HeapType
WasmStorageType
Represents storage types introduced in the GC spec for array and struct fields.
WasmValType
WebAssembly value type – equivalent of wasmparser::ValType.

Constants§

FUNCREF_INIT_BIT
An “initialized bit” in a funcref table.
FUNCREF_MASK
The mask we apply to all refs loaded from funcref tables.
I31_DISCRIMINANT
Discriminant to check whether GC reference is an i31ref or not.
VERSION
Version number of this crate.
VMCONTEXT_MAGIC
Magic value for core Wasm VM contexts.
VM_ARRAY_CALL_HOST_FUNC_MAGIC
Equivalent of VMCONTEXT_MAGIC except for array-call host functions.
VM_GC_HEADER_ALIGN
The minimum alignment of the VMGcHeader in bytes.
VM_GC_HEADER_KIND_OFFSET
The offset of the VMGcKind field in the VMGcHeader.
VM_GC_HEADER_SIZE
The size of the VMGcHeader in bytes.
VM_GC_HEADER_TYPE_INDEX_OFFSET
The offset of the VMSharedTypeIndex field in the VMGcHeader.
VM_GC_KIND_SIZE
The size of the VMGcKind in bytes.
WASM32_MAX_SIZE
Maximum size, in bytes, of 32-bit memories (4G)

Traits§

CacheStore
Implementation of an incremental compilation’s key/value cache store.
Compiler
An implementation of a compiler which can compile WebAssembly functions to machine code and perform other miscellaneous tasks needed by the JIT runtime.
CompilerBuilder
Abstract trait representing the ability to create a Compiler below.
EntityRef
A type wrapping a small integer index should implement EntityRef so it can be used as the key of an SecondaryMap or SparseMap.
FinishedObject
A type which can be the result of serializing an object.
GcTypeLayouts
A trait for getting the layout of a Wasm GC struct or array inside a particular collector.
InitMemory
The various callbacks provided here are used to drive the smaller bits of memory initialization.
PtrSize
Trait used for the ptr representation of the field of VMOffsets
Signed
Helper trait used to add signed() methods to primitive unsigned integer types.
SparseMapValue
Trait for extracting keys from values stored in a SparseMap.
TripleExt
Extension methods for target_lexicon::Triple.
TypeConvert
Helpers used to convert a wasmparser type to a type in this crate.
TypeTrace
A trait for things that can trace all type-to-type edges, aka all type indices within this thing.
Unsigned
Helper trait used to add unsigned() methods to primitive signed integer types.

Functions§

byte_size_of_wasm_ty_in_gc_heap
Get the byte size of the given Wasm type when it is stored inside the GC heap.
demangle_function_name
Demangles a single function name into a user-readable form.
demangle_function_name_or_index
Demangles a function name if it’s provided, or returns a unified representation based on the function index otherwise.
iter_entity_range
Iterate over a Range<E: EntityRef>, yielding a sequence of E items.
iterate_address_map
Iterate over the address map contained in the given address map section.
iterate_traps
Returns an iterator over all of the traps encoded in section, which should have been produced by TrapEncodingBuilder.
lookup_file_pos
Lookup an offset within an encoded address map section, returning the original FilePos that corresponds to the offset, if found.
lookup_trap_code
Decodes the provided trap information section and attempts to find the trap code corresponding to the offset specified.

Type Aliases§

Dwarf
SparseSet
A sparse set of entity references.
WasmResult
A convenient alias for a Result that uses WasmError as the error type.

Results

Settings
Help
    struct
    wasmtime_environ::prelude::String
    A UTF-8–encoded, growable string.
    enum variant
    wasmtime_environ::component::InterfaceType::String
    macro
    wasmtime_environ::__core::stringify
    Stringifies its arguments.
    enum variant
    wasmtime_environ::__core::str::pattern::Utf8Pattern::StringPattern
    Type returned by String and str types.
    enum
    wasmtime_environ::component::StringEncoding
    Possible encodings of strings within the component model.
    struct field
    wasmtime_environ::component::CanonicalOptions::string_encoding
    The encoding used for strings.
    struct field
    wasmtime_environ::component::AdapterOptions::string_encoding
    How strings are encoded.
    struct field
    wasmtime_environ::component::dfg::CanonicalOptions::string_encoding
    trait
    wasmtime_environ::prelude::ToString
    A trait for converting a value to a String.
    trait method
    wasmtime_environ::prelude::ToString::to_string
    Converts the given value to a String.
    method
    wasmtime_environ::WasmError::to_string
    method
    wasmtime_environ::FlagValue::to_string
    method
    wasmtime_environ::Trap::to_string
    method
    wasmtime_environ::Collector::to_string
    method
    wasmtime_environ::WasmValType::to_string
    method
    wasmtime_environ::WasmRefType::to_string
    method
    wasmtime_environ::EngineOrModuleTypeIndex::to_string
    method
    wasmtime_environ::WasmHeapType::to_string
    method
    wasmtime_environ::WasmFuncType::to_string
    method
    wasmtime_environ::WasmContType::to_string
    method
    wasmtime_environ::WasmStorageType::to_string
    method
    wasmtime_environ::WasmFieldType::to_string
    method
    wasmtime_environ::WasmArrayType::to_string
    method
    wasmtime_environ::WasmStructType::to_string
    method
    wasmtime_environ::WasmCompositeType::to_string
    method
    wasmtime_environ::WasmCompositeInnerType::to_string
    method
    wasmtime_environ::WasmSubType::to_string
    method
    wasmtime_environ::SizeOverflow::to_string
    method
    wasmtime_environ::CompileError::to_string
    method
    wasmtime_environ::__core::alloc::LayoutError::to_string
    method
    wasmtime_environ::__core::alloc::AllocError::to_string
    method
    wasmtime_environ::__core::array::TryFromSliceError::to_string
    method
    wasmtime_environ::__core::ascii::Char::to_string
    method
    wasmtime_environ::__core::ascii::EscapeDefault::to_string
    method
    wasmtime_environ::__core::bstr::ByteStr::to_string
    method
    wasmtime_environ::__core::cell::BorrowError::to_string
    method
    wasmtime_environ::__core::cell::BorrowMutError::to_string
    method
    wasmtime_environ::__core::cell::Ref::to_string
    method
    wasmtime_environ::__core::cell::RefMut::to_string
    method
    wasmtime_environ::__core::char::ParseCharError::to_string
    method
    wasmtime_environ::__core::char::CharTryFromError::to_string
    method
    wasmtime_environ::__core::char::DecodeUtf16Error::to_string
    method
    wasmtime_environ::__core::char::EscapeUnicode::to_string
    method
    wasmtime_environ::__core::char::EscapeDefault::to_string
    method
    wasmtime_environ::__core::char::EscapeDebug::to_string
    method
    wasmtime_environ::__core::char::ToLowercase::to_string
    method
    wasmtime_environ::__core::char::ToUppercase::to_string
    method
    wasmtime_environ::__core::char::TryFromCharError::to_string
    method
    wasmtime_environ::__core::convert::Infallible::to_string
    method
    wasmtime_environ::__core::ffi::FromBytesWithNulError::to_string
    method
    wasmtime_environ::__core::ffi::FromBytesUntilNulError::to_string
    method
    wasmtime_environ::__core::fmt::FromFn::to_string
    method
    wasmtime_environ::__core::fmt::Error::to_string
    method
    wasmtime_environ::__core::fmt::Arguments::to_string
    method
    wasmtime_environ::__core::net::IpAddr::to_string
    method
    wasmtime_environ::__core::net::Ipv4Addr::to_string
    method
    wasmtime_environ::__core::net::Ipv6Addr::to_string
    method
    wasmtime_environ::__core::net::AddrParseError::to_string
    method
    wasmtime_environ::__core::net::SocketAddr::to_string
    method
    wasmtime_environ::__core::net::SocketAddrV4::to_string
    method
    wasmtime_environ::__core::net::SocketAddrV6::to_string
    method
    wasmtime_environ::__core::num::NonZero::to_string
    method
    wasmtime_environ::__core::num::ParseFloatError::to_string
    method
    wasmtime_environ::__core::num::TryFromIntError::to_string
    method
    wasmtime_environ::__core::num::ParseIntError::to_string
    method
    wasmtime_environ::__core::num::Saturating::to_string
    method
    wasmtime_environ::__core::num::Wrapping::to_string
    method
    wasmtime_environ::__core::panic::PanicMessage::to_string
    method
    wasmtime_environ::__core::panic::Location::to_string
    method
    wasmtime_environ::__core::panic::PanicInfo::to_string
    method
    wasmtime_environ::__core::pin::Pin::to_string
    method
    wasmtime_environ::__core::slice::EscapeAscii::to_string
    method
    wasmtime_environ::__core::slice::GetDisjointMutError::to_string
    method
    wasmtime_environ::__core::str::Utf8Error::to_string
    method
    wasmtime_environ::__core::str::ParseBoolError::to_string
    method
    wasmtime_environ::__core::str::EscapeDebug::to_string
    method
    wasmtime_environ::__core::str::EscapeDefault::to_string
    method
    wasmtime_environ::__core::str::EscapeUnicode::to_string
    method
    wasmtime_environ::__core::time::TryFromFloatSecsError::to_string
    method
    wasmtime_environ::obj::ObjectCrateErrorWrapper::to_string
    method
    wasmtime_environ::prelude::Box::to_string
    method
    wasmtime_environ::prelude::String::to_string
    method
    wasmtime_environ::__core::ffi::CStr::to_string_lossy
    Converts a CStr into a Cow<str>.
    method
    wasmtime_environ::__core::fmt::Formatter::write_string
    method
    wasmtime_environ::prelude::String::write_string
    method
    wasmtime_environ::__core::ffi::CStr::into_c_string
    Converts a Box<CStr> into a CString without copying or …
    method
    wasmtime_environ::prelude::Box::read_to_string
    method
    wasmtime_environ::__core::alloc::Allocator::shrink
    Attempts to shrink the memory block.
    struct
    wasmtime_environ::Setting
    Description of compiler settings returned by …
    method
    wasmtime_environ::prelude::String::into_chars
    String -> IntoChars
    Converts a String into an iterator over the chars of the …
    method
    wasmtime_environ::prelude::String::len
    &String -> usize
    Returns the length of this String, in bytes, not chars or …
    method
    wasmtime_environ::prelude::Box::from
    String -> Box<str>
    Converts the given String to a boxed str slice that is …
    method
    wasmtime_environ::prelude::Vec::from
    String -> Vec<u8>
    Converts the given String to a vector Vec that holds …
    method
    wasmtime_environ::prelude::String::from
    &String -> String
    Converts a &String into a String.
    method
    wasmtime_environ::prelude::String::clone
    &String -> String
    method
    wasmtime_environ::prelude::String::capacity
    &String -> usize
    Returns this String’s capacity, in bytes.
    method
    wasmtime_environ::prelude::String::is_empty
    &String -> bool
    Returns true if this String has a length of zero, and false…
    method
    wasmtime_environ::prelude::String::into_bytes
    String -> Vec<u8>
    Converts a String into a byte vector.
    method
    wasmtime_environ::prelude::String::into_boxed_str
    String -> Box<str>
    Converts this String into a Box<str>.
    method
    wasmtime_environ::prelude::String::add
    String, &str -> String
    method
    wasmtime_environ::prelude::String::leak
    String -> &mut str
    Consumes and leaks the String, returning a mutable …
    method
    wasmtime_environ::prelude::String::clear
    &mut String -> ()
    Truncates this String, removing all contents.
    method
    wasmtime_environ::prelude::String::deref
    &String -> &str
    method
    wasmtime_environ::prelude::String::as_ref
    &String -> &Path
    method
    wasmtime_environ::prelude::String::as_str
    &String -> &str
    Extracts a string slice containing the entire String.
    method
    wasmtime_environ::prelude::String::borrow
    &String -> &str
    method
    wasmtime_environ::prelude::String::into_searcher
    &String, &str ->
    method
    wasmtime_environ::prelude::String::shrink_to_fit
    &mut String -> ()
    Shrinks the capacity of this String to match its length.
    method
    wasmtime_environ::prelude::String::into_deserializer
    String -> StringDeserializer<E>
    method
    wasmtime_environ::__core::bstr::ByteStr::eq
    &ByteStr, &String -> bool
    method
    wasmtime_environ::prelude::String::eq
    &String, &ByteString -> bool
    method
    wasmtime_environ::prelude::String::ne
    &String, &str -> bool
    method
    wasmtime_environ::prelude::String::cmp
    &String, &String -> Ordering
    method
    wasmtime_environ::prelude::String::pop
    &mut String -> Option<char>
    Removes the last character from the string buffer and …
    method
    wasmtime_environ::prelude::String::push
    &mut String, char -> ()
    Appends the given char to the end of this String.
    method
    wasmtime_environ::prelude::String::remove
    &mut String, usize -> char
    Removes a char from this String at a byte position and …
    method
    wasmtime_environ::prelude::String::reserve
    &mut String, usize -> ()
    Reserves capacity for at least additional bytes more than …
    method
    wasmtime_environ::prelude::String::as_bytes
    &String -> &[u8]
    Returns a byte slice of this String’s contents.
    method
    wasmtime_environ::prelude::String::truncate
    &mut String, usize -> ()
    Shortens this String to the specified length.
    method
    wasmtime_environ::prelude::String::serialize
    &String, S -> Result
    method
    wasmtime_environ::prelude::String::shrink_to
    &mut String, usize -> ()
    Shrinks the capacity of this String with a lower bound.
    method
    wasmtime_environ::prelude::String::split_off
    &mut String, usize -> String
    Splits the string into two at the given byte index.
    method
    wasmtime_environ::prelude::String::extend_one
    &mut String, String -> ()
    method
    wasmtime_environ::prelude::String::is_prefix_of
    &String, &str -> bool
    method
    wasmtime_environ::prelude::String::is_suffix_of
    &String, &str -> bool
    method
    wasmtime_environ::prelude::String::reserve_exact
    &mut String, usize -> ()
    Reserves the minimum capacity for at least additional …
    method
    wasmtime_environ::prelude::String::extend_reserve
    &mut String, usize -> ()
    method
    wasmtime_environ::prelude::String::into_raw_parts
    String -> (u8, usize, usize)
    Decomposes a String into its raw components: …
    method
    wasmtime_environ::prelude::String::as_utf8_pattern
    &&String -> Option<Utf8Pattern>
    method
    wasmtime_environ::prelude::String::is_contained_in
    &String, &str -> bool
    method
    wasmtime_environ::prelude::String::index
    &String, I -> &
    method
    wasmtime_environ::prelude::String::as_mut
    &mut String -> &mut str
    method
    wasmtime_environ::prelude::String::insert
    &mut String, usize, char -> ()
    Inserts a character into this String at a byte position.
    method
    wasmtime_environ::prelude::String::push_str
    &mut String, &str -> ()
    Appends a given string slice onto the end of this String.
    method
    wasmtime_environ::prelude::String::deref_mut
    &mut String -> &mut str
    method
    wasmtime_environ::prelude::String::add_assign
    &mut String, &str -> ()
    method
    wasmtime_environ::prelude::String::as_mut_str
    &mut String -> &mut str
    Converts a String into a mutable string slice.
    method
    wasmtime_environ::prelude::String::borrow_mut
    &mut String -> &mut str
    method
    wasmtime_environ::prelude::String::clone_from
    &mut String, &String -> ()
    Clones the contents of source into self.
    method
    wasmtime_environ::prelude::String::partial_cmp
    &String, &String -> Option<Ordering>
    method
    wasmtime_environ::prelude::String::remove_matches
    &mut String, P -> ()
    Remove all matches of pattern pat in the String.
    method
    wasmtime_environ::prelude::String::to_socket_addrs
    &String -> Result<IntoIter<SocketAddr>, Error>
    method
    wasmtime_environ::prelude::String::hash
    &String, &mut H -> ()
    method
    wasmtime_environ::prelude::String::drain
    &mut String, R -> Drain
    Removes the specified range from the string in bulk, …
    method
    wasmtime_environ::prelude::String::as_mut_vec
    &mut String -> &mut Vec<u8>
    Returns a mutable reference to the contents of this String.
    method
    wasmtime_environ::prelude::String::insert_str
    &mut String, usize, &str -> ()
    Inserts a string slice into this String at a byte position.
    method
    wasmtime_environ::prelude::String::write_char
    &mut String, char -> Result<(), Error>
    method
    wasmtime_environ::prelude::String::try_reserve
    &mut String, usize -> Result<(), TryReserveError>
    Tries to reserve capacity for at least additional bytes …
    method
    wasmtime_environ::prelude::String::strip_prefix_of
    &String, &str -> Option<&str>
    method
    wasmtime_environ::prelude::String::strip_suffix_of
    &String, &str -> Option<&str>
    method
    wasmtime_environ::prelude::String::try_reserve_exact
    &mut String, usize -> Result<(), TryReserveError>
    Tries to reserve the minimum capacity for at least …
    method
    wasmtime_environ::prelude::String::extend_from_within
    &mut String, R -> ()
    Copies elements from src range to the end of the string.
    method
    wasmtime_environ::prelude::String::fmt
    &String, &mut Formatter -> Result<(), Error>
    method
    wasmtime_environ::prelude::String::extend
    &mut String, I -> ()
    method
    wasmtime_environ::prelude::String::index_mut
    &mut String, I -> &mut
    method
    wasmtime_environ::prelude::String::write_str
    &mut String, &str -> Result<(), Error>
    method
    wasmtime_environ::prelude::String::retain
    &mut String, F -> ()
    Retains only the characters specified by the predicate.
    method
    wasmtime_environ::prelude::String::replace_range
    &mut String, R, &str -> ()
    Removes the specified range in the string, and replaces it …
    method
    wasmtime_environ::prelude::Box::read_line
    &mut Box<B>, &mut String -> Result<usize, Error>
    method
    wasmtime_environ::prelude::Box::read_to_string
    &mut Box<R>, &mut String -> Result<usize, Error>
    method
    wasmtime_environ::prelude::String::new
    -> String
    Creates a new empty String.
    method
    wasmtime_environ::prelude::String::default
    -> String
    Creates an empty String.
    method
    wasmtime_environ::prelude::String::from
    char -> String
    Allocates an owned String from a single character.
    struct field
    wasmtime_environ::Initializer::Import::name
    Import -> String
    Name of this import
    struct field
    wasmtime_environ::component::RecordField::name
    RecordField -> String
    The name of the field, unique amongst all fields in a …
    struct field
    wasmtime_environ::Initializer::Import::field
    Import -> String
    The field name projection of this import
    struct field
    wasmtime_environ::WasmError::InvalidWebAssembly::message
    InvalidWebAssembly -> String
    A string describing the validation error.
    method
    wasmtime_environ::WasmError::to_string
    & -> String
    method
    wasmtime_environ::FlagValue::to_string
    & -> String
    method
    wasmtime_environ::Trap::to_string
    & -> String
    method
    wasmtime_environ::Collector::to_string
    & -> String
    method
    wasmtime_environ::WasmValType::to_string
    & -> String
    method
    wasmtime_environ::WasmRefType::to_string
    & -> String
    method
    wasmtime_environ::EngineOrModuleTypeIndex::to_string
    & -> String
    method
    wasmtime_environ::WasmHeapType::to_string
    & -> String
    method
    wasmtime_environ::WasmFuncType::to_string
    & -> String
    method
    wasmtime_environ::WasmContType::to_string
    & -> String
    method
    wasmtime_environ::WasmStorageType::to_string
    & -> String
    method
    wasmtime_environ::WasmFieldType::to_string
    & -> String
    method
    wasmtime_environ::WasmArrayType::to_string
    & -> String
    method
    wasmtime_environ::WasmStructType::to_string
    & -> String
    method
    wasmtime_environ::WasmCompositeType::to_string
    & -> String
    method
    wasmtime_environ::WasmCompositeInnerType::to_string
    & -> String
    method
    wasmtime_environ::WasmSubType::to_string
    & -> String
    method
    wasmtime_environ::SizeOverflow::to_string
    & -> String
    method
    wasmtime_environ::CompileError::to_string
    & -> String
    method
    wasmtime_environ::__core::alloc::LayoutError::to_string
    & -> String
    method
    wasmtime_environ::__core::alloc::AllocError::to_string
    & -> String
    method
    wasmtime_environ::__core::array::TryFromSliceError::to_string
    & -> String
    method
    wasmtime_environ::__core::ascii::Char::to_string
    & -> String
    method
    wasmtime_environ::__core::ascii::EscapeDefault::to_string
    & -> String
    method
    wasmtime_environ::__core::bstr::ByteStr::to_string
    & -> String
    method
    wasmtime_environ::__core::cell::BorrowError::to_string
    & -> String
    method
    wasmtime_environ::__core::cell::BorrowMutError::to_string
    & -> String
    method
    wasmtime_environ::__core::cell::Ref::to_string
    & -> String
    method
    wasmtime_environ::__core::cell::RefMut::to_string
    & -> String
    method
    wasmtime_environ::__core::char::ParseCharError::to_string
    & -> String
    method
    wasmtime_environ::__core::char::CharTryFromError::to_string
    & -> String
    method
    wasmtime_environ::__core::char::DecodeUtf16Error::to_string
    & -> String
    method
    wasmtime_environ::__core::char::EscapeUnicode::to_string
    & -> String
    method
    wasmtime_environ::__core::char::EscapeDefault::to_string
    & -> String
    method
    wasmtime_environ::__core::char::EscapeDebug::to_string
    & -> String
    method
    wasmtime_environ::__core::char::ToLowercase::to_string
    & -> String
    method
    wasmtime_environ::__core::char::ToUppercase::to_string
    & -> String
    method
    wasmtime_environ::__core::char::TryFromCharError::to_string
    & -> String
    method
    wasmtime_environ::__core::convert::Infallible::to_string
    & -> String
    method
    wasmtime_environ::__core::ffi::FromBytesWithNulError::to_string
    & -> String
    method
    wasmtime_environ::__core::ffi::FromBytesUntilNulError::to_string
    & -> String
    method
    wasmtime_environ::__core::fmt::FromFn::to_string
    & -> String
    method
    wasmtime_environ::__core::fmt::Error::to_string
    & -> String
    method
    wasmtime_environ::__core::fmt::Arguments::to_string
    & -> String
    method
    wasmtime_environ::__core::net::IpAddr::to_string
    & -> String
    method
    wasmtime_environ::__core::net::Ipv4Addr::to_string
    & -> String
    method
    wasmtime_environ::__core::net::Ipv6Addr::to_string
    & -> String
    method
    wasmtime_environ::__core::net::AddrParseError::to_string
    & -> String
    method
    wasmtime_environ::__core::net::SocketAddr::to_string
    & -> String
    method
    wasmtime_environ::__core::net::SocketAddrV4::to_string
    & -> String
    method
    wasmtime_environ::__core::net::SocketAddrV6::to_string
    & -> String
    method
    wasmtime_environ::__core::num::NonZero::to_string
    & -> String
    method
    wasmtime_environ::__core::num::ParseFloatError::to_string
    & -> String
    method
    wasmtime_environ::__core::num::TryFromIntError::to_string
    & -> String
    method
    wasmtime_environ::__core::num::ParseIntError::to_string
    & -> String
    method
    wasmtime_environ::__core::num::Saturating::to_string
    & -> String
    method
    wasmtime_environ::__core::num::Wrapping::to_string
    & -> String
    method
    wasmtime_environ::__core::panic::PanicMessage::to_string
    & -> String
    method
    wasmtime_environ::__core::panic::Location::to_string
    & -> String
    method
    wasmtime_environ::__core::panic::PanicInfo::to_string
    & -> String
    method
    wasmtime_environ::__core::pin::Pin::to_string
    & -> String
    method
    wasmtime_environ::__core::slice::EscapeAscii::to_string
    & -> String
    method
    wasmtime_environ::__core::slice::GetDisjointMutError::to_string
    & -> String
    method
    wasmtime_environ::__core::str::Utf8Error::to_string
    & -> String
    method
    wasmtime_environ::__core::str::ParseBoolError::to_string
    & -> String
    method
    wasmtime_environ::__core::str::EscapeDebug::to_string
    & -> String
    method
    wasmtime_environ::__core::str::EscapeDefault::to_string
    & -> String
    method
    wasmtime_environ::__core::str::EscapeUnicode::to_string
    & -> String
    method
    wasmtime_environ::__core::time::TryFromFloatSecsError::to_string
    & -> String
    method
    wasmtime_environ::obj::ObjectCrateErrorWrapper::to_string
    & -> String
    method
    wasmtime_environ::prelude::Box::to_string
    & -> String
    method
    wasmtime_environ::prelude::String::to_string
    & -> String
    method
    wasmtime_environ::prelude::String::with_capacity
    usize -> String
    Creates a new empty String with at least the specified …
    method
    wasmtime_environ::prelude::String::try_from
    CString -> Result<String>
    Converts a CString into a String if it contains valid …
    trait method
    wasmtime_environ::prelude::ToString::to_string
    &ToString -> String
    Converts the given value to a String.
    method
    wasmtime_environ::component::Trampoline::symbol_name
    &Trampoline -> String
    Returns the name to use for the symbol of this trampoline …
    method
    wasmtime_environ::prelude::String::from_utf8_unchecked
    Vec<u8> -> String
    Converts a vector of bytes to a String without checking …
    method
    wasmtime_environ::prelude::String::from_utf8_lossy_owned
    Vec<u8> -> String
    Converts a Vec<u8> to a String, substituting invalid UTF-8 …
    method
    wasmtime_environ::prelude::String::from_str
    &str -> Result<String>
    method
    wasmtime_environ::prelude::String::deserialize
    D -> Result<String>
    method
    wasmtime_environ::prelude::String::from_raw_parts
    u8, usize, usize -> String
    Creates a new String from a pointer, a length and a …
    method
    wasmtime_environ::prelude::String::from_utf16_lossy
    &[u16] -> String
    Decode a native endian UTF-16–encoded slice v into a …
    method
    wasmtime_environ::prelude::String::try_with_capacity
    usize -> Result<String, TryReserveError>
    Creates a new empty String with at least the specified …
    method
    wasmtime_environ::prelude::String::from_utf16be_lossy
    &[u8] -> String
    Decode a UTF-16BE–encoded slice v into a String, …
    method
    wasmtime_environ::prelude::String::from_utf16le_lossy
    &[u8] -> String
    Decode a UTF-16LE–encoded slice v into a String, …
    method
    wasmtime_environ::prelude::String::from_iter
    I -> String
    method
    wasmtime_environ::prelude::String::from_utf8
    Vec<u8> -> Result<String, FromUtf8Error>
    Converts a vector of bytes to a String.
    method
    wasmtime_environ::component::NameMapNoIntern::intern
    &mut NameMapNoIntern, &str -> String
    method
    wasmtime_environ::component::NameMapNoIntern::lookup
    &NameMapNoIntern, &str -> Option<String>
    method
    wasmtime_environ::prelude::String::from_utf16
    &[u16] -> Result<String, FromUtf16Error>
    Decode a native endian UTF-16–encoded vector v into a …
    method
    wasmtime_environ::prelude::String::from_utf16be
    &[u8] -> Result<String, FromUtf16Error>
    Decode a UTF-16BE–encoded vector v into a String, …
    method
    wasmtime_environ::prelude::String::from_utf16le
    &[u8] -> Result<String, FromUtf16Error>
    Decode a UTF-16LE–encoded vector v into a String, …
    method
    wasmtime_environ::prelude::String::clone
    &String -> String
    method
    wasmtime_environ::prelude::String::add
    String, &str -> String
    method
    wasmtime_environ::prelude::String::split_off
    &mut String, usize -> String
    Splits the string into two at the given byte index.