pub trait AuthHeapStrategy {
// Required methods
fn with_auth_state<R>(
&self,
f: impl FnOnce(&Option<AuthenticationHeapState>) -> R,
) -> R;
fn with_auth_state_mut<R>(
&self,
f: impl FnOnce(&mut Option<AuthenticationHeapState>) -> R,
) -> R;
}Required Methods§
fn with_auth_state<R>( &self, f: impl FnOnce(&Option<AuthenticationHeapState>) -> R, ) -> R
fn with_auth_state_mut<R>( &self, f: impl FnOnce(&mut Option<AuthenticationHeapState>) -> R, ) -> R
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.