pub enum TimeoutKind {
DnsLookup,
TcpConnect,
MqttConnect,
}Expand description
This enum specifies which operation in particular triggered a timeout while trying to connect to the broker.
See ConnectError
Variants§
DnsLookup
The DNS lookup (host name resolving) timed out.
TcpConnect
Establishing the TCP connection timed out.
MqttConnect
The server did not reply to our CONNACK packet
in time.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeoutKind
impl RefUnwindSafe for TimeoutKind
impl Send for TimeoutKind
impl Sync for TimeoutKind
impl Unpin for TimeoutKind
impl UnwindSafe for TimeoutKind
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