Struct wasmtime_wasi_http::types::WasiHttpCtx
source · pub struct WasiHttpCtx {
pub streams: HashMap<u32, Stream>,
}
Expand description
Capture the state necessary for use in the wasi-http API implementation.
Fields§
§streams: HashMap<u32, Stream>
Implementations§
source§impl WasiHttpCtx
impl WasiHttpCtx
Auto Trait Implementations§
impl RefUnwindSafe for WasiHttpCtx
impl Send for WasiHttpCtx
impl Sync for WasiHttpCtx
impl Unpin for WasiHttpCtx
impl UnwindSafe for WasiHttpCtx
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.