pub struct IdleTimeoutSetting {
pub timeout: Duration,
pub resolution: IdleTimeoutResolution,
}Expand description
A resolved idle timeout together with how it was arrived at.
Fields§
§timeout: DurationThe window that must elapse with NO line on the child’s stdout.
resolution: IdleTimeoutResolutionHow that value was reached — observable to the caller as a VALUE, not only as a log line, so a test can assert on it directly.
Implementations§
Trait Implementations§
Source§impl Clone for IdleTimeoutSetting
impl Clone for IdleTimeoutSetting
Source§fn clone(&self) -> IdleTimeoutSetting
fn clone(&self) -> IdleTimeoutSetting
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 moreSource§impl Debug for IdleTimeoutSetting
impl Debug for IdleTimeoutSetting
impl Eq for IdleTimeoutSetting
Source§impl PartialEq for IdleTimeoutSetting
impl PartialEq for IdleTimeoutSetting
impl StructuralPartialEq for IdleTimeoutSetting
Auto Trait Implementations§
impl Freeze for IdleTimeoutSetting
impl RefUnwindSafe for IdleTimeoutSetting
impl Send for IdleTimeoutSetting
impl Sync for IdleTimeoutSetting
impl Unpin for IdleTimeoutSetting
impl UnsafeUnpin for IdleTimeoutSetting
impl UnwindSafe for IdleTimeoutSetting
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,
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.