IndexerInit

Trait IndexerInit 

pub trait IndexerInit: Sized {
    type Args;
    type Error;

    // Required method
    fn try_init<A>(args: A) -> Result<Self, Self::Error>
       where Self::Args: TryFrom<A, Error = Self::Error>;
}

Required Associated Types§

type Args

type Error

Required Methods§

fn try_init<A>(args: A) -> Result<Self, Self::Error>
where Self::Args: TryFrom<A, Error = Self::Error>,

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.

Implementors§

§

impl IndexerInit for JsonIndexer

§

impl IndexerInit for MatchIndexer

§

type Args = MatchIndexerOptions

§

type Error = EncryptionError

§

impl IndexerInit for OreIndexer

§

type Args = OreIndexerOptions

§

type Error = EncryptionError

§

impl IndexerInit for UniqueIndexer

§

type Args = UniqueIndexerOptions

§

type Error = EncryptionError