Skip to main content

Module types

Module types 

Source
Expand description

Document metadata, manifest and declared route modes.

Structs§

AssetManifest
Validated schema-2 build manifest. Deserialize through the shared validator.
AssetMetadata
Metadata for one emitted file, including its full uncompressed-byte digest.
PageConfig
Document metadata for an explicitly browser-rendered page. Server-rendered pages use a bound crate::PageHandle.
RouteAssets
Per-route asset references.

Enums§

RouteMode
The manifest’s explicit route mode.

Constants§

NOSNIFF
X-Content-Type-Options: nosniff — belongs on every response, not just documents.

Functions§

asset_security_headers
Security headers for subresource responses (/_assets/*, /sw.js).
document_security_headers
Security headers that only make sense on an HTML document response.