pub struct TimeoutUpdateParams {
pub exec_timeout_secs: Option<TimeoutValue>,
pub timeout_secs: Option<TimeoutValue>,
}Expand description
Parameters describing how to set timeouts for the current task.
Fields§
§exec_timeout_secs: Option<TimeoutValue>Set the maximum time a task can run.
timeout_secs: Option<TimeoutValue>Set the maximum time that can elapse with no output to stdout.
Trait Implementations§
Source§impl Clone for TimeoutUpdateParams
impl Clone for TimeoutUpdateParams
Source§fn clone(&self) -> TimeoutUpdateParams
fn clone(&self) -> TimeoutUpdateParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimeoutUpdateParams
impl Debug for TimeoutUpdateParams
Source§impl<'de> Deserialize<'de> for TimeoutUpdateParams
impl<'de> Deserialize<'de> for TimeoutUpdateParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TimeoutUpdateParams
impl RefUnwindSafe for TimeoutUpdateParams
impl Send for TimeoutUpdateParams
impl Sync for TimeoutUpdateParams
impl Unpin for TimeoutUpdateParams
impl UnwindSafe for TimeoutUpdateParams
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