Enum binance::errors::Error [−][src]
pub enum Error {
Show 20 variants
ReqError(Error),
InvalidHeaderError(InvalidHeaderValue),
IoError(Error),
ParseFloatError(ParseFloatError),
UrlParserError(ParseError),
Json(Error),
Qs(Error),
Tungstenite(Error),
TimestampError(SystemTimeError),
UTF8Err(Utf8Error),
BinanceError {
response: BinanceContentError,
},
InvalidListenKey(String),
UnknownSymbol(String),
InvalidOrderError {
msg: String,
},
InvalidPrice,
InvalidPeriod(String),
InternalServerError,
ServiceUnavailable,
Unauthorized,
Msg(String),
}
Expand description
First errors are technical errors All unhandled binance content errors are BinanceError The rest are binance content errors that are properly handled Unhandled binance errors are Msg
Variants
ReqError(Error)
Tuple Fields
0: Error
InvalidHeaderError(InvalidHeaderValue)
Tuple Fields
IoError(Error)
Tuple Fields
0: Error
ParseFloatError(ParseFloatError)
Tuple Fields
UrlParserError(ParseError)
Tuple Fields
0: ParseError
Json(Error)
Tuple Fields
0: Error
Qs(Error)
Tuple Fields
0: Error
Tungstenite(Error)
TimestampError(SystemTimeError)
Tuple Fields
UTF8Err(Utf8Error)
Tuple Fields
0: Utf8Error
BinanceError
Fields
response: BinanceContentError
InvalidListenKey(String)
Tuple Fields
0: String
UnknownSymbol(String)
Tuple Fields
0: String
InvalidOrderError
Fields
msg: String
InvalidPrice
InvalidPeriod(String)
Tuple Fields
0: String
InternalServerError
ServiceUnavailable
Unauthorized
Msg(String)
Tuple Fields
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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