Enum esp8266_at_driver::DriverError
source · pub enum DriverError {
Show 13 variants
UnableToInitialize,
NoAvailableSockets,
Timeout,
OpenError,
ConnectError,
WriteError,
ReadError,
CloseError,
SocketClosed,
InvalidSocket,
OperationNotSupported,
UnableToAssociate,
Unknown,
}
Expand description
Possible errors returned by the Esp8266 driver.
Variants§
UnableToInitialize
Error initializing driver.
NoAvailableSockets
No socket available.
Timeout
Operation timed out.
OpenError
Error opening socket.
ConnectError
Error connecting to remote endpoint.
WriteError
Error writing to socket.
ReadError
Error reading from socket.
CloseError
Error closing socket.
SocketClosed
Attempting to use a closed socket.
InvalidSocket
Socket is in an invalid state.
OperationNotSupported
Operation not supported by driver.
UnableToAssociate
Error associating with an access point.
Unknown
Unknown error.
Trait Implementations§
source§impl Clone for DriverError
impl Clone for DriverError
source§fn clone(&self) -> DriverError
fn clone(&self) -> DriverError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more