restructure auth code
This commit is contained in:
parent
bbadf75c01
commit
ce039d767e
4 changed files with 70 additions and 90 deletions
|
|
@ -26,6 +26,8 @@ pub enum Error {
|
|||
Auth(AuthError),
|
||||
/// TLS error
|
||||
Tls(TlsError),
|
||||
/// Connection closed
|
||||
Disconnected,
|
||||
/// Shoud never happen
|
||||
InvalidState,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue