pub enum ClientError {
Structured(HttpError<BinanceApiError>),
Raw(HttpError<String>),
}
Expand description
Unsuccesful response from the Binance API.
Variants§
Structured(HttpError<BinanceApiError>)
API server error complying with the error schema.
Raw(HttpError<String>)
API server error not complying with the error schema.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl UnwindSafe for ClientError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more