Trait CollectServerError

Source
pub trait CollectServerError
where Self: Sized,
{ // Required method async fn collect_server_error(self) -> CResult<Self>; }
Expand description

Trait to recover public errors from server.

Required Methods§

Source

async fn collect_server_error(self) -> CResult<Self>

Collects server error.

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.

Implementations on Foreign Types§

Source§

impl CollectServerError for Response

Source§

async fn collect_server_error(self) -> CResult<Self>

Implementors§