Home
last modified time | relevance | path

Searched refs:ResourceTableError (Results 1 – 12 of 12) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dresource_table.rs10 pub enum ResourceTableError { enum
22 impl fmt::Display for ResourceTableError { implementation
33 impl core::error::Error for ResourceTableError {} implementation
237 .ok_or(ResourceTableError::NotPresent) in occupied()
266 ) -> Result<Resource<T>, ResourceTableError> in push_child()
283 ) -> Result<(), ResourceTableError> { in add_child() argument
296 ) -> Result<(), ResourceTableError> { in remove_child() argument
311 .ok_or(ResourceTableError::WrongType) in get()
324 ) -> Result<&mut T, ResourceTableError> { in get_mut() argument
327 .ok_or(ResourceTableError::WrongType) in get_mut()
[all …]
H A Dmod.rs133 pub use self::resource_table::{ResourceTable, ResourceTableError};
H A Dconcurrent.rs56 HasData, HasSelf, Instance, Resource, ResourceTable, ResourceTableError, RuntimeInstance,
5005 ) -> Result<TableId<V>, ResourceTableError> { in push() argument
5009 fn get_mut<V: 'static>(&mut self, id: TableId<V>) -> Result<&mut V, ResourceTableError> { in get_mut() argument
5017 ) -> Result<(), ResourceTableError> { in add_child() argument
5027 ) -> Result<(), ResourceTableError> { in remove_child() argument
5033 fn delete<V: 'static>(&mut self, id: TableId<V>) -> Result<V, ResourceTableError> { in delete() argument
/wasmtime-44.0.1/crates/wasi-http/src/p2/
H A Derror.rs5 use wasmtime::component::ResourceTableError;
42 impl From<ResourceTableError> for HttpError {
43 fn from(error: ResourceTableError) -> Self { in from()
97 impl From<ResourceTableError> for HeaderError {
98 fn from(error: ResourceTableError) -> Self { in from()
/wasmtime-44.0.1/crates/wasi/src/p2/
H A Dnetwork.rs10 impl From<wasmtime::component::ResourceTableError> for SocketError {
11 fn from(error: wasmtime::component::ResourceTableError) -> Self { in from()
H A Dfilesystem.rs53 impl From<wasmtime::component::ResourceTableError> for FsError {
54 fn from(error: wasmtime::component::ResourceTableError) -> Self { in from()
/wasmtime-44.0.1/crates/wasi-keyvalue/src/
H A Dlib.rs84 use wasmtime::component::{HasData, Resource, ResourceTable, ResourceTableError};
93 impl From<ResourceTableError> for Error {
94 fn from(err: ResourceTableError) -> Self { in from()
/wasmtime-44.0.1/crates/wasi-io/src/
H A Dstreams.rs117 impl From<wasmtime::component::ResourceTableError> for StreamError {
118 fn from(error: wasmtime::component::ResourceTableError) -> Self { in from()
/wasmtime-44.0.1/crates/wasi/src/
H A Dlib.rs66 pub use wasmtime::component::{ResourceTable, ResourceTableError};
H A Dp1.rs1154 impl From<wasmtime::component::ResourceTableError> for types::Error {
1155 fn from(err: wasmtime::component::ResourceTableError) -> Self { in from()
/wasmtime-44.0.1/crates/wasi/src/p3/filesystem/
H A Dmod.rs127 impl From<wasmtime::component::ResourceTableError> for FilesystemError {
128 fn from(error: wasmtime::component::ResourceTableError) -> Self { in from()
/wasmtime-44.0.1/crates/wasi-nn/src/
H A Dwit.rs84 impl From<wasmtime::component::ResourceTableError> for Error {
85 fn from(error: wasmtime::component::ResourceTableError) -> Self { in from()