Type Definition openid_client::RequestInterceptor

source ·
pub type RequestInterceptor = Box<dyn FnMut(&Request) -> RequestOptions>;
Expand description

type RequestInterceptor is the alias for the closure that can be passed through one of several methods that will be executed every time a request is being made.

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.