@@ -53,8 +53,8 @@ use crate::*;
5353/// # Ok(()) }
5454/// ```
5555#[ derive( Debug ) ]
56- pub struct EncryptedDatabaseOpenOptions < ' e , ' n , T , KC , DC , C = DefaultComparator > {
57- inner : DatabaseOpenOptions < ' e , ' n , T , KC , DC , C > ,
56+ pub struct EncryptedDatabaseOpenOptions < ' e , ' n , KC , DC , C = DefaultComparator > {
57+ inner : DatabaseOpenOptions < ' e , ' n , KC , DC , C > ,
5858}
5959
6060impl < ' e , T > EncryptedDatabaseOpenOptions < ' e , ' static , T , Unspecified , Unspecified > {
@@ -64,7 +64,7 @@ impl<'e, T> EncryptedDatabaseOpenOptions<'e, 'static, T, Unspecified, Unspecifie
6464 }
6565}
6666
67- impl < ' e , ' n , T , KC , DC , C > EncryptedDatabaseOpenOptions < ' e , ' n , T , KC , DC , C > {
67+ impl < ' e , ' n , KC , DC , C > EncryptedDatabaseOpenOptions < ' e , ' n , KC , DC , C > {
6868 /// Change the type of the database.
6969 ///
7070 /// The default types are [`Unspecified`] and require a call to [`Database::remap_types`]
@@ -75,7 +75,7 @@ impl<'e, 'n, T, KC, DC, C> EncryptedDatabaseOpenOptions<'e, 'n, T, KC, DC, C> {
7575 /// Change the customized key compare function of the database.
7676 ///
7777 /// By default no customized compare function will be set when opening a database.
78- pub fn key_comparator < NC > ( self ) -> EncryptedDatabaseOpenOptions < ' e , ' n , T , KC , DC , NC > {
78+ pub fn key_comparator < NC > ( self ) -> EncryptedDatabaseOpenOptions < ' e , ' n , KC , DC , NC > {
7979 EncryptedDatabaseOpenOptions { inner : self . inner . key_comparator ( ) }
8080 }
8181
@@ -139,13 +139,13 @@ impl<'e, 'n, T, KC, DC, C> EncryptedDatabaseOpenOptions<'e, 'n, T, KC, DC, C> {
139139 }
140140}
141141
142- impl < T , KC , DC , C > Clone for EncryptedDatabaseOpenOptions < ' _ , ' _ , T , KC , DC , C > {
142+ impl < KC , DC , C > Clone for EncryptedDatabaseOpenOptions < ' _ , ' _ , KC , DC , C > {
143143 fn clone ( & self ) -> Self {
144144 * self
145145 }
146146}
147147
148- impl < T , KC , DC , C > Copy for EncryptedDatabaseOpenOptions < ' _ , ' _ , T , KC , DC , C > { }
148+ impl < KC , DC , C > Copy for EncryptedDatabaseOpenOptions < ' _ , ' _ , KC , DC , C > { }
149149
150150/// A typed database that accepts only the types it was created with.
151151///
@@ -374,7 +374,7 @@ impl<KC, DC, C> EncryptedDatabase<KC, DC, C> {
374374 & self ,
375375 txn : & ' txn mut RoTxn < T > ,
376376 key : & ' a KC :: EItem ,
377- ) -> Result < Option < RoIter < ' txn , T , KC , DC , MoveOnCurrentKeyDuplicates > > >
377+ ) -> Result < Option < RoIter < ' txn , KC , DC , MoveOnCurrentKeyDuplicates > > >
378378 where
379379 KC : BytesEncode < ' a > ,
380380 {
@@ -862,7 +862,7 @@ impl<KC, DC, C> EncryptedDatabase<KC, DC, C> {
862862 /// wtxn.commit()?;
863863 /// # Ok(()) }
864864 /// ```
865- pub fn iter < ' txn , T > ( & self , txn : & ' txn mut RoTxn < T > ) -> Result < RoIter < ' txn , T , KC , DC > > {
865+ pub fn iter < ' txn , T > ( & self , txn : & ' txn mut RoTxn < T > ) -> Result < RoIter < ' txn , KC , DC > > {
866866 self . inner . iter ( txn)
867867 }
868868
@@ -961,7 +961,7 @@ impl<KC, DC, C> EncryptedDatabase<KC, DC, C> {
961961 /// wtxn.commit()?;
962962 /// # Ok(()) }
963963 /// ```
964- pub fn rev_iter < ' txn , T > ( & self , txn : & ' txn mut RoTxn < T > ) -> Result < RoRevIter < ' txn , T , KC , DC > > {
964+ pub fn rev_iter < ' txn , T > ( & self , txn : & ' txn mut RoTxn < T > ) -> Result < RoRevIter < ' txn , KC , DC > > {
965965 self . inner . rev_iter ( txn)
966966 }
967967
@@ -1068,7 +1068,7 @@ impl<KC, DC, C> EncryptedDatabase<KC, DC, C> {
10681068 & self ,
10691069 txn : & ' txn mut RoTxn < T > ,
10701070 range : & ' a R ,
1071- ) -> Result < RoRange < ' txn , T , KC , DC , C > >
1071+ ) -> Result < RoRange < ' txn , KC , DC , C > >
10721072 where
10731073 KC : BytesEncode < ' a > ,
10741074 R : RangeBounds < KC :: EItem > ,
@@ -1191,7 +1191,7 @@ impl<KC, DC, C> EncryptedDatabase<KC, DC, C> {
11911191 & self ,
11921192 txn : & ' txn mut RoTxn < T > ,
11931193 range : & ' a R ,
1194- ) -> Result < RoRevRange < ' txn , T , KC , DC , C > >
1194+ ) -> Result < RoRevRange < ' txn , KC , DC , C > >
11951195 where
11961196 KC : BytesEncode < ' a > ,
11971197 R : RangeBounds < KC :: EItem > ,
@@ -1315,7 +1315,7 @@ impl<KC, DC, C> EncryptedDatabase<KC, DC, C> {
13151315 & self ,
13161316 txn : & ' txn mut RoTxn < T > ,
13171317 prefix : & ' a KC :: EItem ,
1318- ) -> Result < RoPrefix < ' txn , T , KC , DC , C > >
1318+ ) -> Result < RoPrefix < ' txn , KC , DC , C > >
13191319 where
13201320 KC : BytesEncode < ' a > ,
13211321 C : LexicographicComparator ,
@@ -1440,7 +1440,7 @@ impl<KC, DC, C> EncryptedDatabase<KC, DC, C> {
14401440 & self ,
14411441 txn : & ' txn mut RoTxn < T > ,
14421442 prefix : & ' a KC :: EItem ,
1443- ) -> Result < RoRevPrefix < ' txn , T , KC , DC , C > >
1443+ ) -> Result < RoRevPrefix < ' txn , KC , DC , C > >
14441444 where
14451445 KC : BytesEncode < ' a > ,
14461446 C : LexicographicComparator ,
0 commit comments