pub struct ShellReconnectOptions {
pub max_retries: u32,
pub base_delay: Duration,
pub max_delay: Duration,
}Expand description
Reconnect tuning.
Fields§
§max_retries: u32§base_delay: Duration§max_delay: DurationTrait Implementations§
Source§impl Clone for ShellReconnectOptions
impl Clone for ShellReconnectOptions
Source§fn clone(&self) -> ShellReconnectOptions
fn clone(&self) -> ShellReconnectOptions
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 ShellReconnectOptions
impl Debug for ShellReconnectOptions
Auto Trait Implementations§
impl Freeze for ShellReconnectOptions
impl RefUnwindSafe for ShellReconnectOptions
impl Send for ShellReconnectOptions
impl Sync for ShellReconnectOptions
impl Unpin for ShellReconnectOptions
impl UnsafeUnpin for ShellReconnectOptions
impl UnwindSafe for ShellReconnectOptions
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