pub trait Plugin: for<'a> PluginInner<'a> { }Expand description
Having the inner type with a lifetime allows to borrow features for any lifetime.
This could be avoided with GAT
pub trait Plugin: for<'a> PluginInner<'a> { }Having the inner type with a lifetime allows to borrow features for any lifetime.
This could be avoided with GAT