pub struct NoDelay;Expand description
No-op delay provider — the default when no timeout is configured.
Pass NoDelay (or omit the third generic) when you do not need RTU or TCP
timeouts. NoDelay does not implement any delay trait; this is
intentional — it enables disjoint impl blocks in Connection and
ClientSession without requiring language specialization.
To enable timeouts, call .delay(my_delay) on the builder and set
.rtu_timeout(ms) and/or .tcp_timeout(ms).
Auto Trait Implementations§
impl Freeze for NoDelay
impl RefUnwindSafe for NoDelay
impl Send for NoDelay
impl Sync for NoDelay
impl Unpin for NoDelay
impl UnsafeUnpin for NoDelay
impl UnwindSafe for NoDelay
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