[−][src]Enum tinkerforge::ip_connection::ConnectError
This error is raised if a connect
call fails.
Variants
CouldNotParseIpAddress(String)
Could not parse the given ip address.
Could not resolve the given ip addresses.
IoError(Error)
An IoError
was raised while creating the socket.
Already connected. Disconnect before connecting somewhere else.
Could not create tcp socket (Failed to set no delay flag).
Could not create tcp socket (Failed to clone tcp stream).
Connect succeeded, but the socket was disconnected immediately. This usually happens if the first auto-reconnect succeeds immediately, but should be handled within the reconnect logic.
Trait Implementations
impl From<Error> for ConnectError
[src]
impl Debug for ConnectError
[src]
impl Display for ConnectError
[src]
impl Error for ConnectError
[src]
Auto Trait Implementations
impl Send for ConnectError
impl Sync for ConnectError
impl Unpin for ConnectError
impl !UnwindSafe for ConnectError
impl !RefUnwindSafe for ConnectError
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self