Enum coinnect::error::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Json(Error), ParseFloat(ParseFloatError), ParseString(FromUtf8Error), Hyper(Error), DataDecoding(DecodeError), Io(Error), BadParse, ServiceUnavailable(String), BadCredentials, RateLimitExceeded, PairUnsupported, InvalidArguments, ExchangeSpecificError(String), TlsError, InvalidFieldFormat(String), InvalidFieldValue(String), MissingField(String), InsufficientFunds, InsufficientOrderSize, MissingPrice, InvalidConfigType(Exchange, Exchange), InvalidExchange(String), InvalidNonce, PermissionDenied, }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Json(Error)
ParseFloat(ParseFloatError)
ParseString(FromUtf8Error)
Hyper(Error)
DataDecoding(DecodeError)
Io(Error)
BadParse
BadCredentials
RateLimitExceeded
PairUnsupported
InvalidArguments
ExchangeSpecificError(String)
TlsError
InvalidFieldFormat(String)
InvalidFieldValue(String)
MissingField(String)
InsufficientFunds
InsufficientOrderSize
MissingPrice
InvalidConfigType(Exchange, Exchange)
InvalidExchange(String)
InvalidNonce
PermissionDenied
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.