pub struct KillExecutionOptions {
pub signal: Option<i32>,
pub timeout_secs: Option<u64>,
}Expand description
Per-operation controls persisted with an explicit termination request.
Fields§
§signal: Option<i32>POSIX signal delivered before forced termination. None uses the
persisted execution policy or the backend default.
timeout_secs: Option<u64>Grace period before forced termination. None uses the persisted
execution policy or the backend default.
Trait Implementations§
Source§impl Clone for KillExecutionOptions
impl Clone for KillExecutionOptions
Source§fn clone(&self) -> KillExecutionOptions
fn clone(&self) -> KillExecutionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KillExecutionOptions
Source§impl Debug for KillExecutionOptions
impl Debug for KillExecutionOptions
Source§impl Default for KillExecutionOptions
impl Default for KillExecutionOptions
Source§fn default() -> KillExecutionOptions
fn default() -> KillExecutionOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KillExecutionOptions
impl<'de> Deserialize<'de> for KillExecutionOptions
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
impl Eq for KillExecutionOptions
Source§impl PartialEq for KillExecutionOptions
impl PartialEq for KillExecutionOptions
Source§impl Serialize for KillExecutionOptions
impl Serialize for KillExecutionOptions
impl StructuralPartialEq for KillExecutionOptions
Auto Trait Implementations§
impl Freeze for KillExecutionOptions
impl RefUnwindSafe for KillExecutionOptions
impl Send for KillExecutionOptions
impl Sync for KillExecutionOptions
impl Unpin for KillExecutionOptions
impl UnsafeUnpin for KillExecutionOptions
impl UnwindSafe for KillExecutionOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.