Crate fastly

source ·
Expand description

Rust SDK for Compute@Edge.

This Rustdoc page is a reference for how to use individual APIs from this SDK. For a guide-level introduction to using Compute@Edge with this SDK, see Rust on Compute@Edge at the Fastly Developer Hub.

Modules

Config Store for Compute@Edge.
Convenient conversion traits.
dictionaryDeprecated
Dictionaries for Compute@Edge.
Error-handling utilities.
Experimental Compute@Edge features.
Geographic data for IP addresses.
Low-level interfaces to the Compute@Edge APIs.
Compute@Edge HTTP interfaces.
Automatically enforced limits for HTTP components.
Low-level interface to Fastly’s Real-Time Log Streaming endpoints.
Media types (also known as Multipurpose Internet Mail Extensions or MIME types).
Interface to the Compute@Edge Secret Store.

Macros

Send a response to the client with the given HTTP status code, and then panic.

Structs

A named backend.
An HTTP body that can be read from, written to, or appended to another body.
A Compute@Edge Config Store.
DictionaryDeprecated
A Compute@Edge Dictionary.
The Error type, a wrapper around a dynamic error type.
An HTTP request, including body, headers, method, and URL.
An HTTP response, including body, headers, and status code.
A Compute@Edge Secret Store.

Attribute Macros

Main function attribute for a Compute@Edge program.