@@ -409,7 +409,7 @@ pub enum ProxyType {
409
409
410
410
/// Possible conditions for the `time_condition` method.
411
411
#[ allow( missing_docs) ]
412
- #[ derive( Debug ) ]
412
+ #[ derive( Debug , Clone , Copy ) ]
413
413
pub enum TimeCondition {
414
414
None = curl_sys:: CURL_TIMECOND_NONE as isize ,
415
415
IfModifiedSince = curl_sys:: CURL_TIMECOND_IFMODSINCE as isize ,
@@ -424,7 +424,7 @@ pub enum TimeCondition {
424
424
425
425
/// Possible values to pass to the `ip_resolve` method.
426
426
#[ allow( missing_docs) ]
427
- #[ derive( Debug ) ]
427
+ #[ derive( Debug , Clone , Copy ) ]
428
428
pub enum IpResolve {
429
429
V4 = curl_sys:: CURL_IPRESOLVE_V4 as isize ,
430
430
V6 = curl_sys:: CURL_IPRESOLVE_V6 as isize ,
@@ -437,7 +437,7 @@ pub enum IpResolve {
437
437
}
438
438
439
439
/// Possible values to pass to the `http_version` method.
440
- #[ derive( Debug ) ]
440
+ #[ derive( Debug , Clone , Copy ) ]
441
441
pub enum HttpVersion {
442
442
/// We don't care what http version to use, and we'd like the library to
443
443
/// choose the best possible for us.
@@ -487,7 +487,7 @@ pub enum SslVersion {
487
487
}
488
488
489
489
/// Possible return values from the `seek_function` callback.
490
- #[ derive( Debug ) ]
490
+ #[ derive( Debug , Clone , Copy ) ]
491
491
pub enum SeekResult {
492
492
/// Indicates that the seek operation was a success
493
493
Ok = curl_sys:: CURL_SEEKFUNC_OK as isize ,
@@ -508,7 +508,7 @@ pub enum SeekResult {
508
508
509
509
/// Possible data chunks that can be witnessed as part of the `debug_function`
510
510
/// callback.
511
- #[ derive( Debug ) ]
511
+ #[ derive( Debug , Clone , Copy ) ]
512
512
pub enum InfoType {
513
513
/// The data is informational text.
514
514
Text ,
@@ -565,7 +565,7 @@ pub enum WriteError {
565
565
}
566
566
567
567
/// Options for `.netrc` parsing.
568
- #[ derive( Debug ) ]
568
+ #[ derive( Debug , Clone , Copy ) ]
569
569
pub enum NetRc {
570
570
/// Ignoring `.netrc` file and use information from url
571
571
///
0 commit comments