Enum avassa_client::Error [−][src]
pub enum Error {
}Expand description
Error returned by client functions
Variants
LoginFailure(String)
Tuple Fields
0: StringLogin failed
LoginFailureMissingEnv(String)
Tuple Fields
0: StringApplication login failed because an environment variable is missing
WebServer(u16, String)
Failed returned by the HTTP server
WebSocket(Error)
Websocket error
Serde(Error)
Tuple Fields
0: ErrorJSON serialization/deserialization error
URL(ParseError)
Tuple Fields
0: ParseErrorURL parsing error
HTTPClient(Error)
Tuple Fields
0: ErrorHTTP client error
Volga(Option<String>)
Volga error
API(String)
Tuple Fields
0: StringThis error is returned if we get data from the API we can’t parse/understand
REST(RESTErrorList)
Tuple Fields
This error is returned from the REST API, this typically means the client did something wrong.
TLS(Error)
Tuple Fields
0: ErrorTLS Errors
IO(Error)
Tuple Fields
0: ErrorIO Errors
General(String)
Tuple Fields
0: StringGeneral 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
Instruments this type with the provided Span, returning an
Instrumented wrapper. 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
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
