pub trait IntoAuthResolverFn {
// Required method
fn into_resolver_fn(self) -> Arc<Box<dyn AuthResolverFn>> ⓘ;
}Expand description
Custom and convenient trait used in the AuthResolver::from_resolver_fn argument.
Required Methods§
Sourcefn into_resolver_fn(self) -> Arc<Box<dyn AuthResolverFn>> ⓘ
fn into_resolver_fn(self) -> Arc<Box<dyn AuthResolverFn>> ⓘ
Convert the argument into an AuthResolverFn trait object.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".