Function tvix_build::buildservice::from_addr

source ·
pub async fn from_addr<BS, DS>(
    uri: &str,
    _blob_service: BS,
    _directory_service: DS
) -> Result<Box<dyn BuildService>>
where BS: AsRef<dyn BlobService> + Send + Sync + Clone + 'static, DS: AsRef<dyn DirectoryService> + Send + Sync + Clone + 'static,
Expand description

Constructs a new instance of a BuildService from an URI.

The following schemes are supported by the following services:

As some of these BuildService need to talk to a BlobService and DirectoryService, these also need to be passed in.