ClientApiError

Trait ClientApiError 

Source
pub trait ClientApiError: From<BadResponseError> + Error {
    // Required method
    fn bad_response_mut(&mut self) -> Option<&mut BadResponseError>;
}

Required Methods§

Source

fn bad_response_mut(&mut self) -> Option<&mut BadResponseError>

If current error is a bad response error return a mut reference to it!

Required for AllowUndocumentedResponses impl.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§