Expand description
Re-export of layers.
Structs§
- Async
Backtrace Layer layers-async-backtrace - Add Efficient, logical ‘stack’ traces of async functions for the underlying services.
- Await
Tree Layer layers-await-tree - Add an Instrument await-tree for actor-based applications to the underlying services.
- Capability
Check Layer layers-capability-check - Add an extra capability check layer for every operation
- Capability
Override Layer - Layer for overriding an operator’s effective capability.
- Chaos
Layer layers-chaos - Inject chaos into underlying services for robustness test.
- Concurrent
Limit Layer layers-concurrent-limit - Add concurrent request limit.
- Default
Logging Interceptor layers-logging - The DefaultLoggingInterceptor will log the message by the standard logging macro.
- Default
Retry Interceptor layers-retry - The DefaultRetryInterceptor logs each retry error at warn level.
- Deleter
layers-foyer - Dtrace
Layer Linux and layers-dtrace - Support User Statically-Defined Tracing(aka USDT) on Linux
- Fastmetrics
Layer layers-fastmetrics - Add fastmetrics metrics for OpenDAL operations and HTTP fetches.
- Fastmetrics
Layer Builder layers-fastmetrics FastmetricsLayerBuilderis a config builder to build aFastmetricsLayer.- Fastrace
Layer layers-fastrace - Add fastrace for every operation.
- Foyer
Key layers-foyer FoyerKeyis a key for the foyer cache. It implements foyer’s [Code] trait directly, so the layer does not depend on foyer’sserdefeature (and its bincode dependency).- Foyer
Layer layers-foyer - Hybrid cache layer for OpenDAL that uses foyer for caching.
- Foyer
Service layers-foyer - Foyer
Value layers-foyer FoyerValueis a wrapper aroundBufferthat implements theCodetrait.- Hotpath
Layer layers-hotpath - Add hotpath profiling for every operation.
- Immutable
Index Layer layers-immutable-index - Add an immutable in-memory index for underlying storage services.
- Logging
Layer layers-logging - Add log for every operation.
- Metrics
Layer layers-metrics - Add metrics for every operation.
- Mime
Guess Layer layers-mime-guess - A layer that can automatically set
Content-Typebased on the file extension in the path. - Otel
Metrics Layer layers-otel-metrics - Add [opentelemetry::metrics] for OpenDAL operations and HTTP fetches.
- Otel
Metrics Layer Builder layers-otel-metrics OtelMetricsLayerBuilderis a config builder to build aOtelMetricsLayer.- Otel
Trace Layer layers-otel-trace - Add opentelemetry::trace for every operation.
- Prometheus
Client Layer layers-prometheus-client - Add prometheus-client metrics for OpenDAL operations and HTTP fetches.
- Prometheus
Client Layer Builder layers-prometheus-client PrometheusClientLayerBuilderis a config builder to build aPrometheusClientLayer.- Prometheus
Layer layers-prometheus - Add prometheus metrics for OpenDAL operations and HTTP fetches.
- Prometheus
Layer Builder layers-prometheus PrometheusLayerBuilderis a config builder to build aPrometheusLayer.- Retry
Event layers-retry - Context passed to
RetryInterceptorbefore each retry sleep. - Retry
Layer layers-retry - Add retry for temporary failed operations.
- Route
Accessor layers-route - Service that routes operations to different targets based on path.
- Route
Deleter layers-route - Deleter that batches deletions per routed service.
- Route
Layer layers-route - Route operations to different operators by matching paths with glob patterns.
- Route
Layer Builder layers-route - Builder for
RouteLayer. - Simulate
Layer - Simulate missing capabilities for backends in a configurable way.
- Tail
CutLayer layers-tail-cut - Layer that automatically cancels long-tail requests.
- Tail
CutLayer Builder layers-tail-cut - Builder for TailCutLayer.
- Throttle
Layer layers-throttle - Add a bandwidth rate limiter to the underlying services.
- Timeout
Layer layers-timeout - Add timeouts to operations to avoid slow or unexpectedly hanging work.
- Tracing
Layer layers-tracing - Add tracing for every operation.
- Writer
layers-foyer
Traits§
- Concurrent
Limit Semaphore layers-concurrent-limit - ConcurrentLimitSemaphore abstracts a semaphore-like concurrency primitive that yields an owned permit released on drop.
- Logging
Interceptor layers-logging - LoggingInterceptor customizes log emission.
- Retry
Interceptor layers-retry - RetryInterceptor observes retry attempts before the retry sleep.