pub enum ClientError {
Structured(HttpError<GateApiError>),
Raw(HttpError<String>),
}Expand description
Unsuccessful response from the Gate API.
Variants§
Structured(HttpError<GateApiError>)
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 Freeze for ClientError
impl RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl UnsafeUnpin 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