pub trait DefaultAuthScheme<T: AuthScheme> {
// Required method
fn get_default<'a>() -> T::Input<'a>;
}Expand description
Allows us to set a placeholder auth scheme
Use when we don’t actually care about authenticating requests. With the
SerializingRumaRequestWrapper, the authentication isn’t information we
actually care about serializing, so we just put anything to make the ruma
trait happy.
Required Methods§
Sourcefn get_default<'a>() -> T::Input<'a>
fn get_default<'a>() -> T::Input<'a>
Get a default input to the path builder
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".