Skip to main content

ApiError

Trait ApiError 

Source
pub trait ApiError:
    ToHttpStatus
    + From<CommonApiError>
    + From<ErrorResponse>
    + Into<ErrorResponse>
    + Error
    + Clone { }
Expand description

A ‘trait alias’ defining all the supertraits an API error type must impl to be accepted for use in the RestClient and across all Lexe APIs.

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§