| 1 | use craterust-analyzer cargo wasmparser 0.239.0 crate/::limitsrust-analyzer cargo wasmparser 0.239.0 limits/::MAX_WASM_CANONICAL_OPTIONSrust-analyzer cargo wasmparser 0.239.0 limits/component_limits/MAX_WASM_CANONICAL_OPTIONS.; |
| 2 | use craterust-analyzer cargo wasmparser 0.239.0 crate/::preluderust-analyzer cargo wasmparser 0.239.0 prelude/::*; |
| 3 | use craterust-analyzer cargo wasmparser 0.239.0 crate/::{BinaryReaderrust-analyzer cargo wasmparser 0.239.0 binary_reader/BinaryReader#, ComponentValTyperust-analyzer cargo wasmparser 0.239.0 readers/component/types/ComponentValType#, FromReaderrust-analyzer cargo wasmparser 0.239.0 readers/FromReader#, Resultrust-analyzer cargo wasmparser 0.239.0 binary_reader/Result#, SectionLimitedrust-analyzer cargo wasmparser 0.239.0 readers/SectionLimited#}; |
| 4 | |
| 5 | /// Represents options for component functions. |
| 6 | #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)] |
| 7 | pub enum CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption# { |
| 8 | /// The string types in the function signature are UTF-8 encoded. |
| 9 | UTF8rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#UTF8#, |
| 10 | /// The string types in the function signature are UTF-16 encoded. |
| 11 | UTF16rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#UTF16#, |
| 12 | /// The string types in the function signature are compact UTF-16 encoded. |
| 13 | CompactUTF16rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#CompactUTF16#, |
| 14 | /// The memory to use if the lifting or lowering of a function requires memory access. |
| 15 | /// |
| 16 | /// The value is an index to a core memory. |
| 17 | Memoryrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#Memory#(u32), |
| 18 | /// The realloc function to use if the lifting or lowering of a function requires memory |
| 19 | /// allocation. |
| 20 | /// |
| 21 | /// The value is an index to a core function of type `(func (param i32 i32 i32 i32) (result i32))`. |
| 22 | Reallocrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#Realloc#(u32), |
| 23 | /// The post-return function to use if the lifting of a function requires |
| 24 | /// cleanup after the function returns. |
| 25 | PostReturnrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#PostReturn#(u32), |
| 26 | /// Indicates that specified function should be lifted or lowered using the `async` ABI. |
| 27 | Asyncrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#Async#, |
| 28 | /// The function to use if the async lifting of a function should receive task/stream/future progress events |
| 29 | /// using a callback. |
| 30 | Callbackrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#Callback#(u32), |
| 31 | /// The core function type to lower this component function to. |
| 32 | CoreTyperust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#CoreType#(u32), |
| 33 | /// Use the GC version of the canonical ABI. |
| 34 | Gcrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#Gc#, |
| 35 | } |
| 36 | |
| 37 | /// Represents a canonical function in a WebAssembly component. |
| 38 | #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:)] |
| 39 | pub enum CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction# { |
| 40 | /// The function lifts a core WebAssembly function to the canonical ABI. |
| 41 | Liftrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lift# { |
| 42 | /// The index of the core WebAssembly function to lift. |
| 43 | core_func_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lift#core_func_index.: u32, |
| 44 | /// The index of the lifted function's type. |
| 45 | type_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lift#type_index.: u32, |
| 46 | /// The canonical options for the function. |
| 47 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lift#options.: Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<[CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#]>, |
| 48 | }, |
| 49 | /// The function lowers a canonical ABI function to a core WebAssembly function. |
| 50 | Lowerrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lower# { |
| 51 | /// The index of the function to lower. |
| 52 | func_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lower#func_index.: u32, |
| 53 | /// The canonical options for the function. |
| 54 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lower#options.: Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<[CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#]>, |
| 55 | }, |
| 56 | /// A function which creates a new owned handle to a resource. |
| 57 | ResourceNewrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceNew# { |
| 58 | /// The type index of the resource that's being created. |
| 59 | resourcerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceNew#resource.: u32, |
| 60 | }, |
| 61 | /// A function which is used to drop resource handles of the specified type. |
| 62 | ResourceDroprust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceDrop# { |
| 63 | /// The type index of the resource that's being dropped. |
| 64 | resourcerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceDrop#resource.: u32, |
| 65 | }, |
| 66 | /// Same as `ResourceDrop`, but implements the `async` ABI. |
| 67 | ResourceDropAsyncrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceDropAsync# { |
| 68 | /// The type index of the resource that's being dropped. |
| 69 | resourcerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceDropAsync#resource.: u32, |
| 70 | }, |
| 71 | /// A function which returns the underlying i32-based representation of the |
| 72 | /// specified resource. |
| 73 | ResourceReprust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceRep# { |
| 74 | /// The type index of the resource that's being accessed. |
| 75 | resourcerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceRep#resource.: u32, |
| 76 | }, |
| 77 | /// A function which spawns a new thread by invoking the shared function. |
| 78 | ThreadSpawnRefrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSpawnRef# { |
| 79 | /// The index of the function type to spawn. |
| 80 | func_ty_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSpawnRef#func_ty_index.: u32, |
| 81 | }, |
| 82 | /// A function which spawns a new thread by invoking the shared function |
| 83 | /// passed as an index into a `funcref` table. |
| 84 | ThreadSpawnIndirectrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSpawnIndirect# { |
| 85 | /// The index of the function type to spawn. |
| 86 | func_ty_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSpawnIndirect#func_ty_index.: u32, |
| 87 | /// The index of the table to use for the indirect spawn. |
| 88 | table_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSpawnIndirect#table_index.: u32, |
| 89 | }, |
| 90 | /// A function which returns the number of threads that can be expected to |
| 91 | /// execute concurrently |
| 92 | ThreadAvailableParallelismrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadAvailableParallelism#, |
| 93 | /// A function which tells the host to enable or disable backpressure for |
| 94 | /// the caller's instance. |
| 95 | BackpressureSetrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#BackpressureSet#, |
| 96 | /// A function which tells the host to enable backpressure by incrementing |
| 97 | /// the component's counter by 1. |
| 98 | BackpressureIncrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#BackpressureInc#, |
| 99 | /// A function which tells the host to disable backpressure by decrementing |
| 100 | /// the component's counter by 1. |
| 101 | BackpressureDecrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#BackpressureDec#, |
| 102 | /// A function which returns a result to the caller of a lifted export |
| 103 | /// function. This allows the callee to continue executing after returning |
| 104 | /// a result. |
| 105 | TaskReturnrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#TaskReturn# { |
| 106 | /// The result type, if any. |
| 107 | resultrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#TaskReturn#result.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<ComponentValTyperust-analyzer cargo wasmparser 0.239.0 readers/component/types/ComponentValType#>, |
| 108 | /// The canonical options for the function. |
| 109 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#TaskReturn#options.: Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<[CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#]>, |
| 110 | }, |
| 111 | /// A function to acknowledge cancellation of the current task. |
| 112 | TaskCancelrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#TaskCancel#, |
| 113 | /// A `context.get` intrinsic for the `i`th slot of task-local storage. |
| 114 | ContextGetrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ContextGet#(u32), |
| 115 | /// A `context.set` intrinsic for the `i`th slot of task-local storage. |
| 116 | ContextSetrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ContextSet#(u32), |
| 117 | /// A function which yields control to the host so that other tasks are able |
| 118 | /// to make progress, if any. |
| 119 | ThreadYieldrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadYield# { |
| 120 | /// If `true`, indicates the caller instance maybe reentered. |
| 121 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadYield#cancellable.: bool, |
| 122 | }, |
| 123 | /// A function to drop a specified task which has completed. |
| 124 | SubtaskDroprust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#SubtaskDrop#, |
| 125 | /// A function to cancel an in-progress task. |
| 126 | SubtaskCancelrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#SubtaskCancel# { |
| 127 | /// If `false`, block until cancellation completes rather than return |
| 128 | /// `BLOCKED`. |
| 129 | async_rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#SubtaskCancel#async_.: bool, |
| 130 | }, |
| 131 | /// A function to create a new `stream` handle of the specified type. |
| 132 | StreamNewrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamNew# { |
| 133 | /// The `stream` type to instantiate. |
| 134 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamNew#ty.: u32, |
| 135 | }, |
| 136 | /// A function to read from a `stream` of the specified type. |
| 137 | StreamReadrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamRead# { |
| 138 | /// The `stream` type to expect. |
| 139 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamRead#ty.: u32, |
| 140 | /// Any options (e.g. string encoding) to use when storing values to |
| 141 | /// memory. |
| 142 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamRead#options.: Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<[CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#]>, |
| 143 | }, |
| 144 | /// A function to write to a `stream` of the specified type. |
| 145 | StreamWriterust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamWrite# { |
| 146 | /// The `stream` type to expect. |
| 147 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamWrite#ty.: u32, |
| 148 | /// Any options (e.g. string encoding) to use when loading values from |
| 149 | /// memory. |
| 150 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamWrite#options.: Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<[CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#]>, |
| 151 | }, |
| 152 | /// A function to cancel an in-progress read from a `stream` of the |
| 153 | /// specified type. |
| 154 | StreamCancelReadrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelRead# { |
| 155 | /// The `stream` type to expect. |
| 156 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelRead#ty.: u32, |
| 157 | /// If `false`, block until cancellation completes rather than return |
| 158 | /// `BLOCKED`. |
| 159 | async_rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelRead#async_.: bool, |
| 160 | }, |
| 161 | /// A function to cancel an in-progress write to a `stream` of the specified |
| 162 | /// type. |
| 163 | StreamCancelWriterust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelWrite# { |
| 164 | /// The `stream` type to expect. |
| 165 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelWrite#ty.: u32, |
| 166 | /// If `false`, block until cancellation completes rather than return |
| 167 | /// `BLOCKED`. |
| 168 | async_rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelWrite#async_.: bool, |
| 169 | }, |
| 170 | /// A function to drop the readable end of a `stream` of the specified |
| 171 | /// type. |
| 172 | StreamDropReadablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamDropReadable# { |
| 173 | /// The `stream` type to expect. |
| 174 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamDropReadable#ty.: u32, |
| 175 | }, |
| 176 | /// A function to drop the writable end of a `stream` of the specified |
| 177 | /// type. |
| 178 | StreamDropWritablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamDropWritable# { |
| 179 | /// The `stream` type to expect. |
| 180 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamDropWritable#ty.: u32, |
| 181 | }, |
| 182 | /// A function to create a new `future` handle of the specified type. |
| 183 | FutureNewrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureNew# { |
| 184 | /// The `future` type to instantiate. |
| 185 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureNew#ty.: u32, |
| 186 | }, |
| 187 | /// A function to read from a `future` of the specified type. |
| 188 | FutureReadrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureRead# { |
| 189 | /// The `future` type to expect. |
| 190 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureRead#ty.: u32, |
| 191 | /// Any options (e.g. string encoding) to use when storing values to |
| 192 | /// memory. |
| 193 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureRead#options.: Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<[CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#]>, |
| 194 | }, |
| 195 | /// A function to write to a `future` of the specified type. |
| 196 | FutureWriterust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureWrite# { |
| 197 | /// The `future` type to expect. |
| 198 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureWrite#ty.: u32, |
| 199 | /// Any options (e.g. string encoding) to use when loading values from |
| 200 | /// memory. |
| 201 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureWrite#options.: Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<[CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#]>, |
| 202 | }, |
| 203 | /// A function to cancel an in-progress read from a `future` of the |
| 204 | /// specified type. |
| 205 | FutureCancelReadrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelRead# { |
| 206 | /// The `future` type to expect. |
| 207 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelRead#ty.: u32, |
| 208 | /// If `false`, block until cancellation completes rather than return |
| 209 | /// `BLOCKED`. |
| 210 | async_rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelRead#async_.: bool, |
| 211 | }, |
| 212 | /// A function to cancel an in-progress write to a `future` of the specified |
| 213 | /// type. |
| 214 | FutureCancelWriterust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelWrite# { |
| 215 | /// The `future` type to expect. |
| 216 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelWrite#ty.: u32, |
| 217 | /// If `false`, block until cancellation completes rather than return |
| 218 | /// `BLOCKED`. |
| 219 | async_rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelWrite#async_.: bool, |
| 220 | }, |
| 221 | /// A function to drop the readable end of a `future` of the specified |
| 222 | /// type. |
| 223 | FutureDropReadablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureDropReadable# { |
| 224 | /// The `future` type to expect. |
| 225 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureDropReadable#ty.: u32, |
| 226 | }, |
| 227 | /// A function to drop the writable end of a `future` of the specified |
| 228 | /// type. |
| 229 | FutureDropWritablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureDropWritable# { |
| 230 | /// The `future` type to expect. |
| 231 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureDropWritable#ty.: u32, |
| 232 | }, |
| 233 | /// A function to create a new `error-context` with a specified debug |
| 234 | /// message. |
| 235 | ErrorContextNewrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ErrorContextNew# { |
| 236 | /// String encoding, memory, etc. to use when loading debug message. |
| 237 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ErrorContextNew#options.: Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<[CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#]>, |
| 238 | }, |
| 239 | /// A function to get the debug message for a specified `error-context`. |
| 240 | /// |
| 241 | /// Note that the debug message might not necessarily match what was passed |
| 242 | /// to `error.new`. |
| 243 | ErrorContextDebugMessagerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ErrorContextDebugMessage# { |
| 244 | /// String encoding, memory, etc. to use when storing debug message. |
| 245 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ErrorContextDebugMessage#options.: Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<[CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#]>, |
| 246 | }, |
| 247 | /// A function to drop a specified `error-context`. |
| 248 | ErrorContextDroprust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ErrorContextDrop#, |
| 249 | /// A function to create a new `waitable-set`. |
| 250 | WaitableSetNewrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetNew#, |
| 251 | /// A function to block on the next item within a `waitable-set`. |
| 252 | WaitableSetWaitrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetWait# { |
| 253 | /// Whether or not the guest can be reentered while calling this |
| 254 | /// function. |
| 255 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetWait#cancellable.: bool, |
| 256 | /// Which memory the results of this operation are stored in. |
| 257 | memoryrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetWait#memory.: u32, |
| 258 | }, |
| 259 | /// A function to check if any items are ready within a `waitable-set`. |
| 260 | WaitableSetPollrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetPoll# { |
| 261 | /// Whether or not the guest can be reentered while calling this |
| 262 | /// function. |
| 263 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetPoll#cancellable.: bool, |
| 264 | /// Which memory the results of this operation are stored in. |
| 265 | memoryrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetPoll#memory.: u32, |
| 266 | }, |
| 267 | /// A function to drop a `waitable-set`. |
| 268 | WaitableSetDroprust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetDrop#, |
| 269 | /// A function to add an item to a `waitable-set`. |
| 270 | WaitableJoinrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableJoin#, |
| 271 | /// A function to get the index of the current thread. |
| 272 | ThreadIndexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadIndex#, |
| 273 | /// A function to create a new thread with the specified start function. |
| 274 | ThreadNewIndirectrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadNewIndirect# { |
| 275 | /// The index of the function type to use as the start function. |
| 276 | func_ty_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadNewIndirect#func_ty_index.: u32, |
| 277 | /// The index of the table to use. |
| 278 | table_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadNewIndirect#table_index.: u32, |
| 279 | }, |
| 280 | /// A function to suspend the current thread and switch to the given thread. |
| 281 | ThreadSwitchTorust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSwitchTo# { |
| 282 | /// Whether or not the thread can be cancelled while awaiting resumption. |
| 283 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSwitchTo#cancellable.: bool, |
| 284 | }, |
| 285 | /// A function to suspend the current thread, immediately yielding to any transitive async-lowered calling component. |
| 286 | ThreadSuspendrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSuspend# { |
| 287 | /// Whether or not the thread can be cancelled while suspended. |
| 288 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSuspend#cancellable.: bool, |
| 289 | }, |
| 290 | /// A function to schedule the given thread to be resumed later. |
| 291 | ThreadResumeLaterrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadResumeLater#, |
| 292 | /// A function to suspend the current thread and switch to the given thread. |
| 293 | ThreadYieldTorust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadYieldTo# { |
| 294 | /// Whether or not the thread can be cancelled while yielding. |
| 295 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadYieldTo#cancellable.: bool, |
| 296 | }, |
| 297 | } |
| 298 | |
| 299 | /// A reader for the canonical section of a WebAssembly component. |
| 300 | pub type ComponentCanonicalSectionReaderrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/ComponentCanonicalSectionReader#<'a> = SectionLimitedrust-analyzer cargo wasmparser 0.239.0 readers/SectionLimited#<'a, CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#>; |
| 301 | |
| 302 | impl<'a> FromReaderrust-analyzer cargo wasmparser 0.239.0 readers/FromReader#<'a> for CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction# { |
| 303 | fn from_readerrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/impl#[CanonicalFunction][`FromReader<'a>`]from_reader().(reader: &mut BinaryReaderrust-analyzer cargo wasmparser 0.239.0 binary_reader/BinaryReader#<'a>) -> Resultrust-analyzer cargo wasmparser 0.239.0 binary_reader/Result#<CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#> { |
| 304 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(match reader.read_u8rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_u8().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 305 | 0x00 => match reader.read_u8rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_u8().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 306 | 0x00 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::Liftrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lift# { |
| 307 | core_func_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lift#core_func_index.: reader.read_var_u32rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_var_u32().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 308 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lift#options.: read_optsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/read_opts().(reader)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 309 | type_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lift#type_index.: reader.read_var_u32rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_var_u32().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 310 | }, |
| 311 | x => return reader.invalid_leading_byterust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]invalid_leading_byte().(x, "canonical function lift"), |
| 312 | }, |
| 313 | 0x01 => match reader.read_u8rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_u8().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 314 | 0x00 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::Lowerrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lower# { |
| 315 | func_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lower#func_index.: reader.read_var_u32rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_var_u32().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 316 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#Lower#options.: read_optsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/read_opts().(reader)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 317 | }, |
| 318 | x => return reader.invalid_leading_byterust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]invalid_leading_byte().(x, "canonical function lower"), |
| 319 | }, |
| 320 | 0x02 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ResourceNewrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceNew# { |
| 321 | resourcerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceNew#resource.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 322 | }, |
| 323 | 0x03 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ResourceDroprust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceDrop# { |
| 324 | resourcerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceDrop#resource.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 325 | }, |
| 326 | 0x07 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ResourceDropAsyncrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceDropAsync# { |
| 327 | resourcerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceDropAsync#resource.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 328 | }, |
| 329 | 0x04 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ResourceReprust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceRep# { |
| 330 | resourcerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ResourceRep#resource.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 331 | }, |
| 332 | 0x08 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::BackpressureSetrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#BackpressureSet#, |
| 333 | 0x24 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::BackpressureIncrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#BackpressureInc#, |
| 334 | 0x25 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::BackpressureDecrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#BackpressureDec#, |
| 335 | 0x09 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::TaskReturnrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#TaskReturn# { |
| 336 | resultrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#TaskReturn#result.: craterust-analyzer cargo wasmparser 0.239.0 crate/::read_resultlistrust-analyzer cargo wasmparser 0.239.0 readers/component/types/read_resultlist().(reader)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 337 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#TaskReturn#options.: read_optsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/read_opts().(reader)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 338 | }, |
| 339 | 0x0a => match reader.read_u8rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_u8().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 340 | 0x7f => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ContextGetrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ContextGet#(reader.read_var_u32rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_var_u32().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().), |
| 341 | x => return reader.invalid_leading_byterust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]invalid_leading_byte().(x, "context.get intrinsic type"), |
| 342 | }, |
| 343 | 0x0b => match reader.read_u8rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_u8().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 344 | 0x7f => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ContextSetrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ContextSet#(reader.read_var_u32rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_var_u32().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().), |
| 345 | x => return reader.invalid_leading_byterust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]invalid_leading_byte().(x, "context.set intrinsic type"), |
| 346 | }, |
| 347 | 0x0c => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ThreadYieldrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadYield# { |
| 348 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadYield#cancellable.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 349 | }, |
| 350 | 0x0d => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::SubtaskDroprust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#SubtaskDrop#, |
| 351 | 0x0e => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::StreamNewrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamNew# { tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamNew#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). }, |
| 352 | 0x0f => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::StreamReadrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamRead# { |
| 353 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamRead#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 354 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamRead#options.: read_optsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/read_opts().(reader)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 355 | }, |
| 356 | 0x10 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::StreamWriterust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamWrite# { |
| 357 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamWrite#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 358 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamWrite#options.: read_optsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/read_opts().(reader)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 359 | }, |
| 360 | 0x11 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::StreamCancelReadrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelRead# { |
| 361 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelRead#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 362 | async_rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelRead#async_.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 363 | }, |
| 364 | 0x12 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::StreamCancelWriterust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelWrite# { |
| 365 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelWrite#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 366 | async_rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamCancelWrite#async_.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 367 | }, |
| 368 | 0x13 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::StreamDropReadablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamDropReadable# { tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamDropReadable#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). }, |
| 369 | 0x14 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::StreamDropWritablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamDropWritable# { tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#StreamDropWritable#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). }, |
| 370 | 0x15 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::FutureNewrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureNew# { tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureNew#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). }, |
| 371 | 0x16 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::FutureReadrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureRead# { |
| 372 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureRead#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 373 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureRead#options.: read_optsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/read_opts().(reader)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 374 | }, |
| 375 | 0x17 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::FutureWriterust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureWrite# { |
| 376 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureWrite#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 377 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureWrite#options.: read_optsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/read_opts().(reader)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 378 | }, |
| 379 | 0x18 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::FutureCancelReadrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelRead# { |
| 380 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelRead#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 381 | async_rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelRead#async_.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 382 | }, |
| 383 | 0x19 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::FutureCancelWriterust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelWrite# { |
| 384 | tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelWrite#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 385 | async_rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureCancelWrite#async_.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 386 | }, |
| 387 | 0x1a => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::FutureDropReadablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureDropReadable# { tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureDropReadable#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). }, |
| 388 | 0x1b => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::FutureDropWritablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureDropWritable# { tyrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#FutureDropWritable#ty.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). }, |
| 389 | 0x1c => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ErrorContextNewrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ErrorContextNew# { |
| 390 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ErrorContextNew#options.: read_optsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/read_opts().(reader)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 391 | }, |
| 392 | 0x1d => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ErrorContextDebugMessagerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ErrorContextDebugMessage# { |
| 393 | optionsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ErrorContextDebugMessage#options.: read_optsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/read_opts().(reader)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 394 | }, |
| 395 | 0x1e => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ErrorContextDroprust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ErrorContextDrop#, |
| 396 | |
| 397 | 0x1f => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::WaitableSetNewrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetNew#, |
| 398 | 0x20 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::WaitableSetWaitrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetWait# { |
| 399 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetWait#cancellable.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 400 | memoryrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetWait#memory.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 401 | }, |
| 402 | 0x21 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::WaitableSetPollrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetPoll# { |
| 403 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetPoll#cancellable.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 404 | memoryrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetPoll#memory.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 405 | }, |
| 406 | 0x22 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::WaitableSetDroprust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableSetDrop#, |
| 407 | 0x23 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::WaitableJoinrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#WaitableJoin#, |
| 408 | 0x26 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ThreadIndexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadIndex#, |
| 409 | 0x27 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ThreadNewIndirectrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadNewIndirect# { |
| 410 | func_ty_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadNewIndirect#func_ty_index.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 411 | table_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadNewIndirect#table_index.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 412 | }, |
| 413 | 0x28 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ThreadSwitchTorust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSwitchTo# { |
| 414 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSwitchTo#cancellable.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 415 | }, |
| 416 | 0x29 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ThreadSuspendrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSuspend# { |
| 417 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSuspend#cancellable.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 418 | }, |
| 419 | 0x2a => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ThreadResumeLaterrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadResumeLater#, |
| 420 | 0x2b => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ThreadYieldTorust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadYieldTo# { |
| 421 | cancellablerust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadYieldTo#cancellable.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 422 | }, |
| 423 | 0x06 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::SubtaskCancelrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#SubtaskCancel# { |
| 424 | async_rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#SubtaskCancel#async_.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 425 | }, |
| 426 | 0x05 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::TaskCancelrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#TaskCancel#, |
| 427 | 0x40 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ThreadSpawnRefrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSpawnRef# { |
| 428 | func_ty_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSpawnRef#func_ty_index.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 429 | }, |
| 430 | 0x41 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ThreadSpawnIndirectrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSpawnIndirect# { |
| 431 | func_ty_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSpawnIndirect#func_ty_index.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 432 | table_indexrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadSpawnIndirect#table_index.: reader.readrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., |
| 433 | }, |
| 434 | 0x42 => CanonicalFunctionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#::ThreadAvailableParallelismrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalFunction#ThreadAvailableParallelism#, |
| 435 | x => return reader.invalid_leading_byterust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]invalid_leading_byte().(x, "canonical function"), |
| 436 | }) |
| 437 | } |
| 438 | } |
| 439 | |
| 440 | fn read_optsrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/read_opts().(reader: &mut BinaryReaderrust-analyzer cargo wasmparser 0.239.0 binary_reader/BinaryReader#<'_>) -> Resultrust-analyzer cargo wasmparser 0.239.0 binary_reader/Result#<Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<[CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#]>> { |
| 441 | reader |
| 442 | .read_iterrust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_iter().(MAX_WASM_CANONICAL_OPTIONSrust-analyzer cargo wasmparser 0.239.0 limits/component_limits/MAX_WASM_CANONICAL_OPTIONS., "canonical options")?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). |
| 443 | .collectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#collect().::<Resultrust-analyzer cargo wasmparser 0.239.0 binary_reader/Result#<_>>() |
| 444 | } |
| 445 | |
| 446 | impl<'a> FromReaderrust-analyzer cargo wasmparser 0.239.0 readers/FromReader#<'a> for CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption# { |
| 447 | fn from_readerrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/impl#[CanonicalOption][`FromReader<'a>`]from_reader().(reader: &mut BinaryReaderrust-analyzer cargo wasmparser 0.239.0 binary_reader/BinaryReader#<'a>) -> Resultrust-analyzer cargo wasmparser 0.239.0 binary_reader/Result#<Selfrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/impl#[CanonicalOption][`FromReader<'a>`]> { |
| 448 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(match reader.read_u8rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_u8().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 449 | 0x00 => CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#::UTF8rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#UTF8#, |
| 450 | 0x01 => CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#::UTF16rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#UTF16#, |
| 451 | 0x02 => CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#::CompactUTF16rust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#CompactUTF16#, |
| 452 | 0x03 => CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#::Memoryrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#Memory#(reader.read_var_u32rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_var_u32().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().), |
| 453 | 0x04 => CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#::Reallocrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#Realloc#(reader.read_var_u32rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_var_u32().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().), |
| 454 | 0x05 => CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#::PostReturnrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#PostReturn#(reader.read_var_u32rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_var_u32().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().), |
| 455 | 0x06 => CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#::Asyncrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#Async#, |
| 456 | 0x07 => CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#::Callbackrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#Callback#(reader.read_var_u32rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_var_u32().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().), |
| 457 | 0x08 => CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#::CoreTyperust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#CoreType#(reader.read_var_u32rust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]read_var_u32().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().), |
| 458 | 0x09 => CanonicalOptionrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#::Gcrust-analyzer cargo wasmparser 0.239.0 readers/component/canonicals/CanonicalOption#Gc#, |
| 459 | x => return reader.invalid_leading_byterust-analyzer cargo wasmparser 0.239.0 binary_reader/impl#[`BinaryReader<'a>`]invalid_leading_byte().(x, "canonical option"), |
| 460 | }) |
| 461 | } |
| 462 | } |