pub enum TimeoutBaseTime {
TargetExecutionTime,
StartTime,
}Expand description
The base time of the timeout.
Variants§
TargetExecutionTime
The timeout is measured from the job’s target execution time.
StartTime
The timeout is measured from the actual start time of the job.
Trait Implementations§
Source§impl Clone for TimeoutBaseTime
impl Clone for TimeoutBaseTime
Source§fn clone(&self) -> TimeoutBaseTime
fn clone(&self) -> TimeoutBaseTime
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 TimeoutBaseTime
impl Debug for TimeoutBaseTime
Source§impl<'de> Deserialize<'de> for TimeoutBaseTime
impl<'de> Deserialize<'de> for TimeoutBaseTime
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 TimeoutBaseTime
impl RefUnwindSafe for TimeoutBaseTime
impl Send for TimeoutBaseTime
impl Sync for TimeoutBaseTime
impl Unpin for TimeoutBaseTime
impl UnwindSafe for TimeoutBaseTime
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