Skip to main content

PartitionArity

Trait PartitionArity 

Source
pub trait PartitionArity<S: ElementShape>: Arity {
    // Required methods
    fn into_elements<'a>(
        container: Self::Container<'a, S::Element<'a>>,
    ) -> BoxedIterator<'a, S::Element<'a>>
       where S: 'a;
    fn from_bucket<'a>(
        elements: Vec<S::Element<'a>>,
    ) -> QueryResult<Self::Container<'a, S::Element<'a>>>
       where S: 'a;
}

Required Methods§

Source

fn into_elements<'a>( container: Self::Container<'a, S::Element<'a>>, ) -> BoxedIterator<'a, S::Element<'a>>
where S: 'a,

Source

fn from_bucket<'a>( elements: Vec<S::Element<'a>>, ) -> QueryResult<Self::Container<'a, S::Element<'a>>>
where S: 'a,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§