Enum avassa_client::Error
source · [−]pub enum Error {
}Expand description
Error returned by client functions
Variants
LoginFailure(String)
Login failed
LoginFailureMissingEnv(String)
Application login failed because an environment variable is missing
WebServer(u16, String)
Failed returned by the HTTP server
WebSocket(Error)
Websocket error
Serde(Error)
JSON serialization/deserialization error
URL(ParseError)
URL parsing error
HTTPClient(Error)
HTTP client error
Volga(Option<String>)
Volga error
API(String)
This error is returned if we get data from the API we can’t parse/understand
REST(RESTErrorList)
This error is returned from the REST API, this typically means the client did something wrong.
TLS(Error)
TLS Errors
IO(Error)
IO Errors
General(String)
General Error
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more