Skip to main content

Crate sofie_storage

Crate sofie_storage 

Source

Structs§

Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
Content
ContentType
DownloadLink
Put
Served
Storage
StorageKey
128 random bits as lowercase hex: never a name a caller chose, so never a path that leaves its directory.

Enums§

Disposition

Constants§

SERVED_PATH
Where sofie-http serves the links a store signs for the app itself to answer, before routing, so no app route can take it.

Traits§

Reader
Store
Writer
Nothing is kept under its key until finish succeeds.

Functions§

content_disposition
RFC 6266: an ASCII filename for old clients and the UTF-8 filename* (RFC 5987) beside it. Quotes, backslashes and characters that mislead a reader are dropped from both.

Type Aliases§

Pending