Home
last modified time | relevance | path

Searched refs:ErrorContext (Results 1 – 19 of 19) sorted by relevance

/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dasync_error_context_callee.rs10 use wit_bindgen::rt::async_support::ErrorContext;
15 async fn run_fail() -> Result<(), ErrorContext> { in run_fail()
16 Err(ErrorContext::new("error")) in run_fail()
19 async fn run_pass() -> Result<(), ErrorContext> { in run_pass()
H A Dasync_error_context.rs12 use wit_bindgen::rt::async_support::ErrorContext;
18 let err_ctx = ErrorContext::new("error"); in run()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dconcurrent_disabled.rs40 pub struct ErrorContext(Infallible); struct
42 impl ErrorContext { implementation
H A Dvalues.rs3 use crate::component::concurrent::{self, ErrorContext, FutureAny, StreamAny};
95 ErrorContext(ErrorContextAny), enumerator
220 InterfaceType::ErrorContext(_) => { in lift()
349 InterfaceType::ErrorContext(_) => { in load()
503 (InterfaceType::ErrorContext(_), Val::ErrorContext(ErrorContextAny(rep))) => { in lower()
510 (InterfaceType::ErrorContext(_), _) => unexpected(ty, self), in lower()
666 (InterfaceType::ErrorContext(_), Val::ErrorContext(ErrorContextAny(rep))) => { in store()
673 (InterfaceType::ErrorContext(_), _) => unexpected(ty, self), in store()
705 Val::ErrorContext(_) => "error-context", in desc()
790 (Self::ErrorContext(l), Self::ErrorContext(r)) => l == r, in eq()
[all …]
H A Dtypes.rs161 (InterfaceType::ErrorContext(_), InterfaceType::ErrorContext(_)) => true, in interface_types_equal()
162 (InterfaceType::ErrorContext(_), _) => false, in interface_types_equal()
735 ErrorContext, enumerator
896 InterfaceType::ErrorContext(_) => Type::ErrorContext, in from()
929 Type::ErrorContext => "error-context", in desc()
H A Dmod.rs123 ErrorContext, FutureAny, FutureConsumer, FutureProducer, FutureReader, GuardedFutureReader,
H A Dconcurrent.rs99 Destination, DirectDestination, DirectSource, ErrorContext, FutureConsumer, FutureProducer,
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/component/
H A Dhandle_table.rs110 ErrorContext { enumerator
487 self.insert(Slot::ErrorContext { rep }) in error_context_insert()
493 Slot::ErrorContext { rep } => Ok(*rep), in error_context_rep()
503 Slot::ErrorContext { rep } => *rep, in error_context_drop()
/wasmtime-44.0.1/crates/c-api/src/component/types/
H A Dval.rs33 ErrorContext, enumerator
66 Type::ErrorContext => Self::ErrorContext, in from()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/wave/
H A Dcomponent.rs48 | Self::ErrorContext in kind()
145 | Self::ErrorContext(_) in kind()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/concurrent/
H A Dfutures_and_streams.rs1958 pub struct ErrorContext { struct
1962 impl ErrorContext { implementation
1969 Val::ErrorContext(ErrorContextAny(self.rep)) in into_val()
1974 let Val::ErrorContext(ErrorContextAny(rep)) = value else { in from_val()
1982 InterfaceType::ErrorContext(src) => { in lift_from_index()
2001 InterfaceType::ErrorContext(dst) => { in lower_error_context_to_index()
2010 unsafe impl func::ComponentType for ErrorContext { implementation
2017 InterfaceType::ErrorContext(_) => Ok(()), in typecheck()
2024 unsafe impl func::Lower for ErrorContext { implementation
2053 unsafe impl func::Lift for ErrorContext { implementation
/wasmtime-44.0.1/crates/environ/src/component/
H A Dtypes_builder.rs509 wasmparser::PrimitiveValType::ErrorContext => Ok(InterfaceType::ErrorContext( in primitive_type()
862 | InterfaceType::ErrorContext(_) => { in type_information()
H A Dtypes.rs363 | InterfaceType::ErrorContext(_) => &CanonicalAbiInfo::SCALAR4, in canonical_abi()
609 ErrorContext(TypeComponentLocalErrorContextTableIndex), enumerator
/wasmtime-44.0.1/crates/wast/src/
H A Dcomponent.rs292 Val::ErrorContext(..) => "error-context", in mismatch()
/wasmtime-44.0.1/crates/wit-bindgen/src/
H A Drust.rs62 Type::ErrorContext => { in ty()
/wasmtime-44.0.1/crates/fuzzing/src/oracles/
H A Dcomponent_api.rs133 Type::Own(_) | Type::Borrow(_) | Type::Future(_) | Type::Stream(_) | Type::ErrorContext => { in arbitrary_val()
/wasmtime-44.0.1/crates/c-api/src/component/
H A Dval.rs361 Val::ErrorContext(_) => todo!(), in from()
/wasmtime-44.0.1/crates/environ/src/fact/
H A Dtrampoline.rs1174 | InterfaceType::ErrorContext(_) => 1, in translate()
1213 InterfaceType::ErrorContext(t) => { in translate()
3622 InterfaceType::ErrorContext(t) => *t, in translate_error_context()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/func/
H A Dtyped.rs3171 InterfaceType::ErrorContext(_) => "error-context", in desc()