Function tvix_build::buildservice::from_addr::from_addr

source ยท
pub async fn from_addr<BS, DS>(
    uri: &str,
    blob_service: BS,
    directory_service: DS,
) -> Result<Box<dyn BuildService>>
where BS: BlobService + Send + Sync + Clone + 'static, DS: 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.