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
- Azblob
Config - 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.
- Http
Config - Config for Http service support.
- Memory
- In memory service support. (BTreeMap Based)
- Memory
Config - 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.