Struct oxide_auth::frontends::simple::endpoint::ErrorInto[][src]

pub struct ErrorInto<E, Error>(_, _);
Expand description

A simple wrapper around an Endpoint to change it’s error type into anything Into-able.

Implementations

Create a new ErrorInto wrapping the supplied endpoint.

Trait Implementations

The error typed used as the error representation of each flow.

A registrar if this endpoint can access one. Read more

An authorizer if this endpoint can access one. Read more

An issuer if this endpoint can access one. Read more

Return the system that checks owner consent. Read more

Determine the required scopes for a request. Read more

Generate a prototype response. Read more

Wrap an error.

Wrap an error in the request/response types.

Get the central extension instance this endpoint. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.