Searched refs:ResourceTableError (Results 1 – 12 of 12) sorted by relevance
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | resource_table.rs | 10 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 D | mod.rs | 133 pub use self::resource_table::{ResourceTable, ResourceTableError};
|
| H A D | concurrent.rs | 56 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 D | error.rs | 5 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 D | network.rs | 10 impl From<wasmtime::component::ResourceTableError> for SocketError { 11 fn from(error: wasmtime::component::ResourceTableError) -> Self { in from()
|
| H A D | filesystem.rs | 53 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 D | lib.rs | 84 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 D | streams.rs | 117 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 D | lib.rs | 66 pub use wasmtime::component::{ResourceTable, ResourceTableError};
|
| H A D | p1.rs | 1154 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 D | mod.rs | 127 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 D | wit.rs | 84 impl From<wasmtime::component::ResourceTableError> for Error { 85 fn from(error: wasmtime::component::ResourceTableError) -> Self { in from()
|