Docs.rs
spin-sdk-2.2.0
spin-sdk 2.2.0
Docs.rs crate page
Apache-2.0 WITH LLVM-exception
Links
Homepage
Repository
crates.io
Source
Owners
radu-matei
lann
fermybot
Dependencies
anyhow ^1
normal
async-trait ^0.1.74
normal
bytes ^1
normal
form_urlencoded ^1.0
normal
futures ^0.3.28
normal
http ^0.2
normal
once_cell ^1.18.0
normal
routefinder ^0.5.3
normal
serde ^1.0.163
normal
serde_json ^1.0.96
normal
spin-macro ^2.2.0
normal
thiserror ^1.0.37
normal
wit-bindgen ^0.13.0
normal
Versions
100%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
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
spin_sdk
2.2.0
Headers
Aliased type
Trait Implementations
IntoHeaders
In spin_sdk::http
?
Type Alias
spin_sdk
::
http
::
Headers
source
·
[
−
]
pub type Headers =
Fields
;
Aliased Type
§
struct Headers {
/* private fields */
}
Trait Implementations
§
source
§
impl
IntoHeaders
for
Headers
source
§
fn
into_headers
(self) ->
Vec
<(
String
,
Vec
<
u8
>)>
Turn
self
into
Response
headers