Skip to content

Commit 0ba03a4

Browse files
authored
Merge pull request #276 from 0kaguya/master
derive Clone for ProxyType
2 parents e94f8d7 + 57e1a24 commit 0ba03a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/easy/handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ unsafe impl<H: Send> Send for Inner<H> {}
392392

393393
/// Possible proxy types that libcurl currently understands.
394394
#[allow(missing_docs)]
395-
#[derive(Debug)]
395+
#[derive(Debug, Clone, Copy)]
396396
pub enum ProxyType {
397397
Http = curl_sys::CURLPROXY_HTTP as isize,
398398
Http1 = curl_sys::CURLPROXY_HTTP_1_0 as isize,

0 commit comments

Comments
 (0)