Trait RedirectServerError

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

Trait to recover public errors from server.

Required Methods§

Source

async fn redirect_server_error(self) -> MResult<Self>

Redirects 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 RedirectServerError for Response

Source§

async fn redirect_server_error(self) -> MResult<Self>

Implementors§