pub struct LongRunningConfig { /* private fields */ }Expand description
Represents the long running middleware config
max_duration vs TimeoutLayer
Represents the maximum amount of time a single operation should last
and should not be confused with TimeoutLayer which controls the full task execution time.
See module level documentation for more details.
Implementations§
Trait Implementations§
Source§impl Clone for LongRunningConfig
impl Clone for LongRunningConfig
Source§impl Debug for LongRunningConfig
impl Debug for LongRunningConfig
Auto Trait Implementations§
impl Freeze for LongRunningConfig
impl RefUnwindSafe for LongRunningConfig
impl Send for LongRunningConfig
impl Sync for LongRunningConfig
impl Unpin for LongRunningConfig
impl UnsafeUnpin for LongRunningConfig
impl UnwindSafe for LongRunningConfig
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