pub(super) struct TaskExecution {
pub task_id: i32,
pub sample_path: PathBuf,
pub config: HashMap<String, String>,
pub result_tx: ResultSender,
pub proto_tx: Sender<Result<TaskResult, Status>>,
pub stash: Arc<ResultStash>,
pub artifact_dir: PathBuf,
pub external_log_dir: PathBuf,
pub auto_collect_artifacts: AutoCollectSection,
pub auto_collect_external_logs: AutoCollectSection,
pub default_timeout: u64,
}Expand description
All parameters for a single guest task execution (everything except the generic plugin instance).
Fields§
§task_id: i32§sample_path: PathBuf§config: HashMap<String, String>§result_tx: ResultSender§proto_tx: Sender<Result<TaskResult, Status>>§stash: Arc<ResultStash>§artifact_dir: PathBuf§external_log_dir: PathBuf§auto_collect_artifacts: AutoCollectSection§auto_collect_external_logs: AutoCollectSection§default_timeout: u64Auto Trait Implementations§
impl Freeze for TaskExecution
impl RefUnwindSafe for TaskExecution
impl Send for TaskExecution
impl Sync for TaskExecution
impl Unpin for TaskExecution
impl UnsafeUnpin for TaskExecution
impl UnwindSafe for TaskExecution
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].