pub trait Unzipped {
type Message;
// Required method
fn unzipped<F>(
&self,
f: F,
) -> (Option<OAuth2Context>, Option<ContextHandle<OAuth2Context>>)
where F: Fn(OAuth2Context) -> Self::Message + 'static;
}
Expand description
Helper to get an unzipped version of the context.
Required Associated Types§
Required Methods§
fn unzipped<F>( &self, f: F, ) -> (Option<OAuth2Context>, Option<ContextHandle<OAuth2Context>>)
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.