socksproto: impl Clone for Error.
This commit is contained in:
parent
1cc27a39e2
commit
d1e70d9479
|
@ -1,2 +1,2 @@
|
|||
MODIFIED: Added SocksClientHandshake for client-side support.
|
||||
|
||||
MODIFIED: Error implements Clone.
|
||||
|
|
|
@ -6,7 +6,7 @@ use thiserror::Error;
|
|||
use tor_error::{ErrorKind, HasKind};
|
||||
|
||||
/// An error that occurs while negotiating a SOCKS handshake.
|
||||
#[derive(Error, Debug)]
|
||||
#[derive(Clone, Error, Debug)]
|
||||
#[non_exhaustive]
|
||||
pub enum Error {
|
||||
/// The SOCKS client didn't implement SOCKS correctly.
|
||||
|
|
Loading…
Reference in New Issue