File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -176,13 +176,13 @@ impl IConnection for RestAPIConnection {
176
176
}
177
177
}
178
178
179
- impl RestAPIConnection {
179
+ impl < ' o > RestAPIConnection {
180
180
pub async fn try_create ( dsn : & str , name : String ) -> Result < Self > {
181
181
let client = APIClient :: new ( dsn, Some ( name) ) . await ?;
182
182
Ok ( Self { client } )
183
183
}
184
184
185
- fn default_file_format_options ( ) -> BTreeMap < & ' static str , & ' static str > {
185
+ fn default_file_format_options ( ) -> BTreeMap < & ' o str , & ' o str > {
186
186
vec ! [
187
187
( "type" , "CSV" ) ,
188
188
( "field_delimiter" , "," ) ,
@@ -193,7 +193,7 @@ impl RestAPIConnection {
193
193
. collect ( )
194
194
}
195
195
196
- fn default_copy_options ( ) -> BTreeMap < & ' static str , & ' static str > {
196
+ fn default_copy_options ( ) -> BTreeMap < & ' o str , & ' o str > {
197
197
vec ! [ ( "purge" , "true" ) ] . into_iter ( ) . collect ( )
198
198
}
199
199
fn parse_row_count_string ( value_str : & str ) -> Result < i64 , String > {
You can’t perform that action at this time.
0 commit comments