pub(crate) trait ProviderExt: Provider + Sized {
// Provided methods
fn rename(
self,
from: impl Into<Profile>,
to: impl Into<Profile>,
) -> RenameProfileProvider<Self> { ... }
fn wrap(
self,
wrapping_key: impl Into<Profile>,
profile: impl Into<Profile>,
) -> WrapProfileProvider<Self> { ... }
fn strict_select(
self,
profiles: impl IntoIterator<Item = impl Into<Profile>>,
) -> OptionalStrictProfileProvider<Self> { ... }
fn fallback(
self,
profile: impl Into<Profile>,
fallback: impl Into<Profile>,
) -> FallbackProfileProvider<Self> { ... }
}
Provided Methods§
fn rename( self, from: impl Into<Profile>, to: impl Into<Profile>, ) -> RenameProfileProvider<Self>
fn wrap( self, wrapping_key: impl Into<Profile>, profile: impl Into<Profile>, ) -> WrapProfileProvider<Self>
fn strict_select( self, profiles: impl IntoIterator<Item = impl Into<Profile>>, ) -> OptionalStrictProfileProvider<Self>
fn fallback( self, profile: impl Into<Profile>, fallback: impl Into<Profile>, ) -> FallbackProfileProvider<Self>
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.