Enum nut_client::NutError [−][src]
pub enum NutError { AccessDenied, UnknownUps, UnexpectedResponse, UnknownResponseType(String), SslNotSupported, SslInvalidHostname, FeatureNotConfigured, Generic(String), }
Expand description
A NUT-native error.
Variants
Occurs when the username/password combination is rejected.
Occurs when the specified UPS device does not exist.
Occurs when the response type or content wasn’t expected at the current stage.
Occurs when the response type is not recognized by the client.
Tuple Fields of UnknownResponseType
0: String
Occurs when attempting to use SSL in a transport that doesn’t support it, or if the server is not configured for it.
Occurs when trying to initialize a strict SSL connection with an invalid hostname.
Occurs when the client used a feature that is disabled by the server.
Generic (usually internal) client error.
Tuple Fields of Generic
0: String