Skip to main content

Module storage

Module storage 

Source
Expand description

Object-safe storage abstractions and typed convenience wrappers. Object-safe storage backend contracts.

Re-exports§

pub use rate_limit::RateLimitReportingClient;

Modules§

rate_limit
Storage wrappers that report backend health to autoscaling.

Structs§

AddOptions
Options controlling insertion of requests.
AddRequestsBatchedResult
Completion result for a batched request addition.
AutoSaved
A typed value that can be explicitly persisted to a key-value store.
BatchAddHandle
Handle for observing completion of a batched request addition.
DatasetInfo
Dataset identity and timestamps.
KeyInfo
Metadata for one stored key.
KeyList
A page of keys and continuation metadata.
KvEntry
A stored byte value and its metadata.
Lease
Temporary, linear ownership of a queued request.
LeaseId
Identifier for one active request lease.
ListKeysOptions
Options controlling key pagination.
ListOptions
Options controlling dataset listing order and pagination.
Page
A page of dataset items and pagination metadata.
ProcessedRequest
Result metadata for adding one request.
ReclaimOptions
Options controlling return of a leased request to the queue.
StorageHandle
Open storage resources shared by crawler contexts.

Enums§

RequestSource
A source from which requests can be added.
StorageError
An error produced by a storage backend.

Traits§

Dataset
Object-safe storage for append-only JSON records.
DatasetExt
Typed convenience operations available on every Dataset.
KeyValueStore
Object-safe byte-oriented key-value storage.
KeyValueStoreExt
Typed JSON convenience operations available on every KeyValueStore.
RequestQueue
Object-safe queue with temporary lease ownership.
StorageClient
Opens named or default storage objects supplied by a backend.

Type Aliases§

QueueOpInfo
Alternate interface spelling for ProcessedRequest; both names describe the same payload.
StorageResult
Result type returned by every storage operation.