IntoProvider

Trait IntoProvider 

Source
pub trait IntoProvider<T>
where T: Send + Sync + Clone,
{ type Provider: Provider<T>; // Required method fn into_provider(self) -> Self::Provider; }
Expand description

Represents that a type can be represented as a provider. All Providers implement this trait.

Required Associated Types§

Required Methods§

Source

fn into_provider(self) -> Self::Provider

Implementors§

Source§

impl<P, T> IntoProvider<T> for P
where T: Clone + Send + Sync, P: Provider<T> + Send + Sync,