Enum rercon::Error [−][src]
pub enum Error {
AddressParse(AddrParseError),
IO(Error),
CommandTooLong,
UTFEncoding(FromUtf8Error),
UnexpectedPacket,
PasswordIncorrect,
BusyReconnecting(String),
}
Expand description
A common error enum that is returned by all public functions describing different forms of failures that can occur within this library.
Variants
There is an error in the passed address field
Tuple Fields of AddressParse
There was a network issue during connection or exec
Tuple Fields of IO
0: Error
The command provided is longer than 1014 characters.
The server did not respond with proper UTF-8
Tuple Fields of UTFEncoding
The server sent a packet with a type we were not expecting.
The pass field is incorrect
Returned by ReConnection::exec
when ReConnection
is busy reconnecting.
Tuple Fields of BusyReconnecting
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.