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.
- dictionaryDeprecated 
- 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.
- image_optimizer 
- Interface to the Fastly Image Optimizer.
- 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.
- shielding
- Support for shielding for Compute services
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.
- ConfigStore 
- A Compute Config Store.
- DeleteBuilder 
- A builder for KVStore deletes, supporting advanced features like asynchronous execution.
- DictionaryDeprecated 
- A Compute Dictionary.
- Error
- The Errortype, a wrapper around a dynamic error type.
- InsertBuilder 
- 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.
- ListBuilder 
- A builder for KVStore key list operations, supporting advanced configuration like cursor, limit, prefix, and asynchronous execution.
- LookupBuilder 
- 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.
- SecretStore 
- A Compute Secret Store.
Attribute Macros§
- main
- Main function attribute for a Compute program.