Docs.rs
wasmtime-wasi-21.0.1
wasmtime-wasi 21.0.1
Docs.rs crate page
Apache-2.0 WITH LLVM-exception
Links
Repository
crates.io
Source
Owners
alexcrichton
sunfishcode
github:bytecodealliance:wasmtime-publish
Dependencies
anyhow ^1.0.22
normal
async-trait ^0.1.71
normal
bitflags ^2.0
normal
bytes ^1.4
normal
cap-fs-ext ^3.0.0
normal
cap-net-ext ^3.0.0
normal
cap-rand ^3.0.0
normal
cap-std ^3.0.0
normal
cap-time-ext ^3.0.0
normal
fs-set-times ^0.20.1
normal
futures ^0.3.27
normal
io-lifetimes ^2.0.3
normal
once_cell ^1.12.0
normal
system-interface ^0.27.1
normal
thiserror ^1.0.43
normal
tokio ^1.26.0
normal
tracing ^0.1.26
normal
url ^2.3.1
normal
wasmtime ^21.0.1
normal
wiggle =21.0.1
normal
optional
tempfile ^3.1.0
dev
test-log ^0.2
dev
tokio ^1.26.0
dev
tracing-subscriber ^0.3.1
dev
wasmtime ^21.0.1
dev
rustix ^0.38.31
normal
io-extras ^0.18.1
normal
rustix ^0.38.31
normal
windows-sys ^0.52.0
normal
Versions
35.91%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
wasmtime_wasi
21.0.1
GetHost
Required Associated Types
Host
Object Safety
Implementors
In wasmtime_wasi::bindings::io::streams
Trait
wasmtime_wasi
::
bindings
::
io
::
streams
::
GetHost
Copy item path
source
·
[
−
]
pub trait GetHost<T>:
Fn
(T) -> Self::
Host
+
Send
+
Sync
+
Copy
+ 'static { type
Host
:
Host
+
Send
; }
Required Associated Types
§
source
type
Host
:
Host
+
Send
Object Safety
§
This trait is
not
object safe
.
Implementors
§
source
§
impl<F, T, O>
GetHost
<T> for F
where F:
Fn
(T) -> O +
Send
+
Sync
+
Copy
+ 'static, O:
Host
+
Send
,
§
type
Host
= O