pub struct TaskOptions {
pub restart_on_error: bool,
pub restart_interval: Duration,
pub abort_timeout: Option<Duration>,
}
Fields§
§restart_on_error: bool
§restart_interval: Duration
§abort_timeout: Option<Duration>
Trait Implementations§
Source§impl Clone for TaskOptions
impl Clone for TaskOptions
Source§fn clone(&self) -> TaskOptions
fn clone(&self) -> TaskOptions
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 moreAuto Trait Implementations§
impl Freeze for TaskOptions
impl RefUnwindSafe for TaskOptions
impl Send for TaskOptions
impl Sync for TaskOptions
impl Unpin for TaskOptions
impl UnwindSafe for TaskOptions
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