pub enum ErrorType {
Timeout,
Version,
Config,
ServerFull,
}
Expand description
Represents a connection error.
Variants§
Timeout
Indicates that an active connection or connection handshake has timed out.
Version
Indicates that an inbound connection could not be established due to a protocol version mismatch.
Config
Indicates that an inbound connection could not be established due to an endpoint configuration mismatch.
ServerFull
Indicates that an inbound connection could not be established because the maximum number of clients are already connected to the server.