Skip to main content

BuildService

Trait BuildService 

Source
pub trait BuildService: Send + Sync {
    // Required method
    fn do_build(&self, request: BuildRequest) -> BoxStream<'_, BuildUpdate>;
}

Required Methods§

Source

fn do_build(&self, request: BuildRequest) -> BoxStream<'_, BuildUpdate>

Implementations on Foreign Types§

Source§

impl<'a, T: 'a + BuildService + ?Sized> BuildService for &'a T
where &'a T: Send + Sync,

Source§

impl<'a, T: 'a + BuildService + ?Sized> BuildService for &'a mut T
where &'a mut T: Send + Sync,

Source§

impl<T: BuildService + ?Sized> BuildService for Box<T>
where Box<T>: Send + Sync,

Source§

impl<T: BuildService + ?Sized> BuildService for Arc<T>
where Arc<T>: Send + Sync,

Implementors§

Source§

impl BuildService for DummyBuildService

Source§

impl<BS, DS> BuildService for BubblewrapBuildService<BS, DS>
where BS: BlobService + Clone + 'static, DS: DirectoryService + Clone + 'static,

Available on Linux only.
Source§

impl<BS, DS> BuildService for OCIBuildService<BS, DS>
where BS: BlobService + Clone + 'static, DS: DirectoryService + Clone + 'static,

Available on Linux only.
Source§

impl<T> BuildService for GRPCBuildService<T>
where T: GrpcService<Body> + Send + Sync + Clone + 'static, T::ResponseBody: Body<Data = Bytes> + Send + 'static, <T::ResponseBody as Body>::Error: Into<StdError> + Send, T::Future: Send,