Expand description
§Rust SDK for Compute.
This Rustdoc page is a reference for how to use individual APIs from this SDK. For a guide-level introduction to using Compute with this SDK, see Rust on Compute at the Fastly Developer Hub.
Re-exports§
Modules§
- acl
- Compute ACLs.
- backend
- Backend server.
- cache
- Compute Cache APIs.
- compute_
runtime - Functions for interacting with the runtime of the Compute service.
- config_
store - Config Store for Compute.
- convert
- Convenient conversion traits.
- device_
detection - Device detection based on the User-Agent header.
- dictionary
Deprecated - Dictionaries for Compute.
- erl
- Edge rate limiter and supporting functions.
- error
- Error-handling utilities.
- experimental
- Experimental Compute features.
- geo
- Geographic data for IP addresses.
- handle
- Low-level interfaces to the Compute APIs.
- http
- Compute HTTP interfaces.
- kv_
store - Interface to the Compute KV Store.
- log
- Low-level interface to Fastly’s Real-Time Log Streaming endpoints.
- mime
- Media types (also known as Multipurpose Internet Mail Extensions or MIME types).
- secret_
store - Interface to the Compute Secret Store.
- security
- Interface to the Fastly security products.
Macros§
- panic_
with_ status - Send a response to the client with the given HTTP status code, and then panic.
Structs§
- Body
- An HTTP body that can be read from, written to, or appended to another body.
- Config
Store - A Compute Config Store.
- Delete
Builder - A builder for KVStore deletes, supporting advanced features like asynchronous execution.
- Dictionary
Deprecated - A Compute Dictionary.
- Error
- The
Error
type, a wrapper around a dynamic error type. - Insert
Builder - A builder for KVStore insertions, supporting advanced configuration like
InsertMode
, background_fetch, if_generation_match, metadata, ttl, and asynchronous execution. - KVStore
- A Compute KV Store.
- List
Builder - A builder for KVStore key list operations, supporting advanced configuration like cursor, limit, prefix, and asynchronous execution.
- Lookup
Builder - A builder for KVStore lookups, supporting advanced features like asynchronous execution.
- Request
- An HTTP request, including body, headers, method, and URL.
- Response
- An HTTP response, including body, headers, and status code.
- Secret
Store - A Compute Secret Store.
Attribute Macros§
- main
- Main function attribute for a Compute program.