wasmtime/runtime/component/concurrent/futures_and_streams.rs
1use std::marker::PhantomData;
2
3/// Represents the readable end of a Component Model `future`.
4pub struct FutureReader<T> {
5 _phantom: PhantomData<T>,
6}
7
8/// Represents the readable end of a Component Model `stream`.
9pub struct StreamReader<T> {
10 _phantom: PhantomData<T>,
11}
12
13/// Represents a Component Model `error-context`.
14pub struct ErrorContext {}