Trait FactoryBorrow

Source
pub trait FactoryBorrow<K: AsyncKey, V: AsyncStorable>:
    Borrow<dyn AsyncFactory<K, V>>
    + Send
    + Unpin
    + 'static { }
Expand description

A trait for types from which a factory method can be borrowed. A blanket implementation is provided.

Implementors§

Source§

impl<K: AsyncKey, V: AsyncStorable, T: Borrow<dyn AsyncFactory<K, V>> + Send + Unpin + 'static> FactoryBorrow<K, V> for T