Skip to main content

Module services

Module services 

Expand description

Service builders enabled through services-* Cargo features.

Memory is always available. Other builders are re-exported when their matching facade feature is enabled; for example, services-s3 enables S3.

Pass a configured builder to Operator::new. The facade automatically registers enabled services for Operator::from_uri and Operator::via_iter when the auto-register-services feature is enabled.

Structs§

Azblob
Capabilities
AzblobConfig
Azure Storage Blob services support.
Fs
POSIX file system support.
FsConfig
config for file system
Gcs
Google Cloud Storage services support.
GcsConfig
Google Cloud Storage services support.
Http
HTTP Read-only service support like Nginx and Caddy.
HttpConfig
Config for Http service support.
Memory
In memory service support. (BTreeMap Based)
MemoryConfig
Config for memory.
Oss
Aliyun Object Storage Service (OSS) support
OssConfig
Config for Aliyun Object Storage Service (OSS) support.
S3
Aws S3 and compatible services (including minio, digitalocean space, Tencent Cloud Object Storage(COS) and so on) support. For more information about s3-compatible services, refer to Compatible Services.
S3Config
Config for Aws S3 and compatible services (including minio, digitalocean space, Tencent Cloud Object Storage(COS) and so on) support.

Constants§

AZBLOB_SCHEME
URI scheme used for service registration and scheme-driven construction.
FILE_SCHEME
Alias scheme for fs service that follows the standard URI scheme.
FS_SCHEME
URI scheme used for service registration and scheme-driven construction.
GCS_SCHEME
URI scheme used for service registration and scheme-driven construction.
HTTPS_SCHEME
Alias URI scheme used for HTTPS connections.
HTTP_SCHEME
URI scheme used for service registration and scheme-driven construction.
MEMORY_SCHEME
URI scheme used for memory service registration and URI construction.
OSS_SCHEME
URI scheme used for service registration and scheme-driven construction.
S3_SCHEME
URI scheme used for service registration and scheme-driven construction.

Functions§

register_azblob_service
Register this service’s URI scheme or schemes with an operator registry.
register_fs_service
Register this service’s URI scheme or schemes with an operator registry.
register_gcs_service
Register this service’s URI scheme or schemes with an operator registry.
register_http_service
Register this service’s URI scheme or schemes with an operator registry.
register_memory_service
Register the memory URI scheme with an operator registry.
register_oss_service
Register this service’s URI scheme or schemes with an operator registry.
register_s3_service
Register this service’s URI scheme or schemes with an operator registry.