pub struct ExchangeConfig {
pub exchange_timeout: Duration,
pub retry_delay: Duration,
}Expand description
Configuration for a TCP exchange operation.
Fields§
§exchange_timeout: DurationMaximum time to wait for the entire exchange to complete.
retry_delay: DurationDelay between connection retries when a remote peer is not yet listening.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExchangeConfig
impl RefUnwindSafe for ExchangeConfig
impl Send for ExchangeConfig
impl Sync for ExchangeConfig
impl Unpin for ExchangeConfig
impl UnsafeUnpin for ExchangeConfig
impl UnwindSafe for ExchangeConfig
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