pub struct DockerExecutor { /* private fields */ }Implementations§
Source§impl DockerExecutor
impl DockerExecutor
pub fn new(config: RunnerConfig) -> Result<Self>
pub fn with_log_sender( config: RunnerConfig, log_sender: Option<Sender<LogChunk>>, ) -> Result<Self>
pub async fn doctor() -> Result<()>
Trait Implementations§
Source§impl Executor for DockerExecutor
impl Executor for DockerExecutor
fn capabilities(&self) -> ExecutorCapabilities
fn doctor<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DoctorReport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run<'life0, 'async_trait>(
&'life0 self,
spec: JobSpec,
cancel: Option<CancellationToken>,
) -> Pin<Box<dyn Future<Output = Result<JobResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn cleanup<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for DockerExecutor
impl !RefUnwindSafe for DockerExecutor
impl !UnwindSafe for DockerExecutor
impl Send for DockerExecutor
impl Sync for DockerExecutor
impl Unpin for DockerExecutor
impl UnsafeUnpin for DockerExecutor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more