pub trait Has<P: Plugin, I>: PluginSet {
// Required methods
fn get(&self) -> &Arc<P> ⓘ;
fn user_ext(ext: &Self::UserExt) -> &P::UserFields;
fn session_ext(ext: &Self::SessionExt) -> &P::SessionFields;
}Required Methods§
fn get(&self) -> &Arc<P> ⓘ
fn user_ext(ext: &Self::UserExt) -> &P::UserFields
fn session_ext(ext: &Self::SessionExt) -> &P::SessionFields
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".