Function tvix_castore::blobservice::from_addr::from_addr

source ยท
pub async fn from_addr(
    uri: &str,
) -> Result<Arc<dyn BlobService>, Box<dyn Error + Send + Sync>>
Expand description

Constructs a new instance of a BlobService from an URI.

The following schemes are supported by the following services:

  • memory:// ([MemoryBlobService])
  • grpc+*:// ([GRPCBlobService])
  • objectstore+*:// ([ObjectStoreBlobService])

See their from_url methods for more details about their syntax.