Skip to main content

ElementSatisfy

Trait ElementSatisfy 

Source
pub trait ElementSatisfy<ElementConstrain: ?Sized> {
    // Required methods
    fn to_constrain_object(&self) -> &ElementConstrain;
    fn to_constrain_object_mut(&mut self) -> &mut ElementConstrain;
}
Expand description

ElementConstrain is a trait that can be made into trait object where the tuple element satisfies.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ElementSatisfy<dyn KeyValueDbIterableTrait<(Vec<u8>, ()), [u8], KvdbSqliteShardedIteratorTag>> for KvdbSqliteSharded<()>

Source§

impl ElementSatisfy<dyn KeyValueDbIterableTrait<(Vec<u8>, Box<[u8]>), [u8], KvdbSqliteShardedIteratorTag>> for KvdbSqliteSharded<Box<[u8]>>

Source§

impl<Item, TempGeneric: FallibleIterator<Item = Item, Error = Error>> ElementSatisfy<dyn FallibleIterator<Error = Error, Item = Item>> for TempGeneric

Source§

impl<T> ElementSatisfy<ElementNoConstrain> for T