Expand description
Core functionalities of tower-embed.
Modules§
- headers
- Typed HTTP headers to be used with
httpcrate. - http
- HTTP body types for requests and responses.
Structs§
- Content
- A stream of binary content.
- Embedded
- An embedded binary asset.
- Metadata
- Metadata associated with an embedded asset.
Traits§
- Embed
- A trait used to access to binary assets in a directory.
Functions§
- content_
type - Returns the MIME type of file.
- etag
- Returns the unique identifier tag of the content.
- last_
modified - Returns the last modification time of file.
Type Aliases§
- BoxError
- Type-erased error type.