pub struct LsfApptainerBackend { /* private fields */ }Expand description
The experimental LSF + Apptainer backend.
See the module-level documentation for details.
Implementations§
Trait Implementations§
Source§impl Debug for LsfApptainerBackend
impl Debug for LsfApptainerBackend
Source§impl TaskExecutionBackend for LsfApptainerBackend
impl TaskExecutionBackend for LsfApptainerBackend
Source§fn max_concurrency(&self) -> u64
fn max_concurrency(&self) -> u64
Gets the maximum concurrent tasks supported by the backend.
Source§fn constraints(
&self,
requirements: &HashMap<String, Value>,
_hints: &HashMap<String, Value>,
) -> Result<TaskExecutionConstraints>
fn constraints( &self, requirements: &HashMap<String, Value>, _hints: &HashMap<String, Value>, ) -> Result<TaskExecutionConstraints>
Gets the execution constraints given a task’s requirements and hints. Read more
Source§fn guest_inputs_dir(&self) -> Option<&'static str>
fn guest_inputs_dir(&self) -> Option<&'static str>
Gets the guest (container) inputs directory of the backend. Read more
Source§fn needs_local_inputs(&self) -> bool
fn needs_local_inputs(&self) -> bool
Determines if the backend needs local inputs. Read more
Source§fn spawn(
&self,
request: TaskSpawnRequest,
cancellation_token: CancellationToken,
) -> Result<Receiver<Result<TaskExecutionResult>>>
fn spawn( &self, request: TaskSpawnRequest, cancellation_token: CancellationToken, ) -> Result<Receiver<Result<TaskExecutionResult>>>
Spawns a task with the execution backend. Read more
Source§fn cleanup<'a>(
&'a self,
_work_dir: &'a EvaluationPath,
_token: CancellationToken,
) -> Option<BoxFuture<'a, ()>>
fn cleanup<'a>( &'a self, _work_dir: &'a EvaluationPath, _token: CancellationToken, ) -> Option<BoxFuture<'a, ()>>
Performs cleanup operations after task execution completes. Read more
Auto Trait Implementations§
impl Freeze for LsfApptainerBackend
impl !RefUnwindSafe for LsfApptainerBackend
impl Send for LsfApptainerBackend
impl Sync for LsfApptainerBackend
impl Unpin for LsfApptainerBackend
impl !UnwindSafe for LsfApptainerBackend
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more