Struct gapi_grpc::google::devtools::remoteworkers::v1test2::command_task::Timeouts[][src]

pub struct Timeouts {
    pub execution: Option<Duration>,
    pub idle: Option<Duration>,
    pub shutdown: Option<Duration>,
}

Describes the timeouts associated with this task.

Fields

execution: Option<Duration>

This specifies the maximum time that the task can run, excluding the time required to download inputs or upload outputs. That is, the worker will terminate the task if it runs longer than this.

idle: Option<Duration>

This specifies the maximum amount of time the task can be idle - that is, go without generating some output in either stdout or stderr. If the process is silent for more than the specified time, the worker will terminate the task.

shutdown: Option<Duration>

If the execution or IO timeouts are exceeded, the worker will try to gracefully terminate the task and return any existing logs. However, tasks may be hard-frozen in which case this process will fail. This timeout specifies how long to wait for a terminated task to shut down gracefully (e.g. via SIGTERM) before we bring down the hammer (e.g. SIGKILL on *nix, CTRL_BREAK_EVENT on Windows).

Trait Implementations

impl Clone for Timeouts[src]

impl Debug for Timeouts[src]

impl Default for Timeouts[src]

impl Message for Timeouts[src]

impl PartialEq<Timeouts> for Timeouts[src]

impl StructuralPartialEq for Timeouts[src]

Auto Trait Implementations

impl RefUnwindSafe for Timeouts

impl Send for Timeouts

impl Sync for Timeouts

impl Unpin for Timeouts

impl UnwindSafe for Timeouts

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]