pub fn open_cf<P, I, N>(opts: &Options, path: P, cfs: I) -> Result<DB, Error>
    where
        P: AsRef<Path>,
        I: IntoIterator<Item = N>,
        N: AsRef<str>,
    {
        let cfs = cfs
            .into_iter()
            .map(|name| ColumnFamilyDescriptor::new(name.as_ref(), Options::default()));

        DB::open_cf_descriptors(opts, path, cfs)
    }
/// Open a database with the given database options and column family names.
///
/// Column families opened using this function will be created with default `Options`.
Open a database with the given database options and column family names.
Column families opened using this function will be created with default `Options`.
Open a database with the given database options and column family names . Column families opened using this function will be created with default ` Options ` .
pub fn open_cf<P, I, N>(opts: &Options, path: P, cfs: I) -> Result<DB, Error>
    where
        P: AsRef<Path>,
        I: IntoIterator<Item = N>,
        N: AsRef<str>,
    {
        let cfs = cfs
            .into_iter()
            .map(|name| ColumnFamilyDescriptor::new(name.as_ref(), Options::default()));
        DB::open_cf_descriptors(opts, path, cfs)
    }
pub fn open_cf < P , I , N > ( opts : & Options , path : P , cfs : I ) -> Result < DB , Error > where P : AsRef < Path > , I : IntoIterator < Item = N > , N : AsRef < str > , { let cfs = cfs . into_iter ( ) . map ( | name | ColumnFamilyDescriptor :: new ( name . as_ref ( ) , Options :: default ( ) ) ) ; DB :: open_cf_descriptors ( opts , path , cfs ) }
Open a database with the given database options and column family names.
Open a database with the given database options and column family names .
opts
&Options
path
P
cfs
I
opts
&Options
path
P
cfs
I