Home
last modified time | relevance | path

Searched refs:TrappableError (Results 1 – 11 of 11) sorted by relevance

/wasmtime-44.0.1/crates/wasi/src/
H A Derror.rs45 pub struct TrappableError<T> { struct
50 impl<T> TrappableError<T> { implementation
51 pub fn trap(err: impl Into<wasmtime::Error>) -> TrappableError<T> { in trap()
52 TrappableError { in trap()
73 impl<T> From<T> for TrappableError<T> implementation
85 impl<T> fmt::Debug for TrappableError<T> { implementation
91 impl<T> fmt::Display for TrappableError<T> { implementation
97 impl<T> Error for TrappableError<T> {} implementation
H A Dlib.rs55 pub use self::error::{I32Exit, TrappableError};
/wasmtime-44.0.1/crates/wasi/src/p3/sockets/
H A Dmod.rs1 use crate::TrappableError;
10 pub type SocketError = TrappableError<types::ErrorCode>;
/wasmtime-44.0.1/crates/wasi/src/p3/sockets/host/types/
H A Dudp.rs2 use crate::TrappableError;
19 .map_err(TrappableError::trap) in get_socket()
29 .map_err(TrappableError::trap) in get_socket_mut()
103 .map_err(TrappableError::trap) in create()
/wasmtime-44.0.1/crates/wasi-http/src/p3/
H A Dmod.rs34 use wasmtime_wasi::TrappableError;
37 pub(crate) type HttpError = TrappableError<types::ErrorCode>;
40 pub(crate) type HeaderError = TrappableError<types::HeaderError>;
55 pub(crate) type RequestOptionsError = TrappableError<types::RequestOptionsError>;
/wasmtime-44.0.1/crates/wasi/src/p2/
H A Dnetwork.rs1 use crate::TrappableError;
8 pub type SocketError = TrappableError<ErrorCode>;
H A Dfilesystem.rs1 use crate::TrappableError;
13 pub type FsError = TrappableError<types::ErrorCode>;
/wasmtime-44.0.1/crates/wasi/src/p3/filesystem/
H A Dmod.rs3 use crate::TrappableError;
9 pub type FilesystemError = TrappableError<types::ErrorCode>;
/wasmtime-44.0.1/crates/component-macro/src/
H A Dbindgen.rs11 FunctionConfig, FunctionFilter, FunctionFlags, Opts, Ownership, TrappableError,
277 TrappableErrorType(Vec<TrappableError>),
437 fn trappable_error_field_parse(input: ParseStream<'_>) -> Result<TrappableError> { in trappable_error_field_parse() argument
441 Ok(TrappableError { in trappable_error_field_parse()
/wasmtime-44.0.1/crates/wasi-http/tests/all/p3/
H A Dmod.rs21 use wasmtime_wasi::{TrappableError, WasiCtx, WasiCtxBuilder, WasiCtxView, WasiView};
52 TrappableError<ErrorCode>, in send_request()
/wasmtime-44.0.1/crates/wit-bindgen/src/
H A Dlib.rs133 pub trappable_error_type: Vec<TrappableError>,
195 pub struct TrappableError { struct