pub struct BackgroundExecutionConfig {
pub mode: BackgroundExecutionMode,
pub priority: u8,
pub timeout_ms: u64,
pub target_binding: Option<TargetBindingConfig>,
pub callback_url: Option<String>,
pub retry: Option<RetryConfig>,
}Expand description
BackgroundExecutionConfig - Configuration for background execution @see packages/enact-schemas/src/execution.schemas.ts - backgroundExecutionConfigSchema
Fields§
§mode: BackgroundExecutionModeExecution mode
priority: u8Priority (higher = runs sooner)
timeout_ms: u64Maximum execution time in milliseconds
target_binding: Option<TargetBindingConfig>Target binding for result
callback_url: Option<String>Callback URL (for deferred mode)
retry: Option<RetryConfig>Retry configuration
Trait Implementations§
Source§impl Clone for BackgroundExecutionConfig
impl Clone for BackgroundExecutionConfig
Source§fn clone(&self) -> BackgroundExecutionConfig
fn clone(&self) -> BackgroundExecutionConfig
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 BackgroundExecutionConfig
impl Debug for BackgroundExecutionConfig
Source§impl Default for BackgroundExecutionConfig
impl Default for BackgroundExecutionConfig
Source§impl<'de> Deserialize<'de> for BackgroundExecutionConfig
impl<'de> Deserialize<'de> for BackgroundExecutionConfig
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 BackgroundExecutionConfig
impl RefUnwindSafe for BackgroundExecutionConfig
impl Send for BackgroundExecutionConfig
impl Sync for BackgroundExecutionConfig
impl Unpin for BackgroundExecutionConfig
impl UnsafeUnpin for BackgroundExecutionConfig
impl UnwindSafe for BackgroundExecutionConfig
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