Skip to content

Commit e29d113

Browse files
guanqunalexcrichton
authored andcommitted
add Clone/Copy to SslVersion (#290)
1 parent 1f590f3 commit e29d113

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/easy/handler.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,9 @@ pub enum HttpVersion {
467467
__Nonexhaustive = 500,
468468
}
469469

470-
/// Possible values to pass to the `ssl_version` method.
470+
/// Possible values to pass to the `ssl_version` and `ssl_min_max_version` method.
471471
#[allow(missing_docs)]
472-
#[derive(Debug)]
472+
#[derive(Debug, Clone, Copy)]
473473
pub enum SslVersion {
474474
Default = curl_sys::CURL_SSLVERSION_DEFAULT as isize,
475475
Tlsv1 = curl_sys::CURL_SSLVERSION_TLSv1 as isize,

0 commit comments

Comments
 (0)