File tree 2 files changed +2
-8
lines changed
2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -154,17 +154,14 @@ impl KeyPair {
154
154
}
155
155
}
156
156
157
- #[ derive( Clone ) ]
158
- #[ derive( Default ) ]
157
+ #[ derive( Clone , Default ) ]
159
158
pub ( super ) enum KeyType {
160
159
#[ default]
161
160
PemRsa ,
162
161
SshRsa ,
163
162
SshEd25519 ,
164
163
}
165
164
166
-
167
-
168
165
#[ derive( Clone , Default ) ]
169
166
pub ( crate ) struct AuthInfo {
170
167
pub username : String ,
Original file line number Diff line number Diff line change @@ -10,17 +10,14 @@ use crate::{
10
10
type OurVer = String ;
11
11
type ServerVer = String ;
12
12
13
- #[ derive( Debug , Clone ) ]
14
- #[ derive( Default ) ]
13
+ #[ derive( Debug , Clone , Default ) ]
15
14
pub ( crate ) enum SshVersion {
16
15
V1 ,
17
16
V2 ( OurVer , ServerVer ) ,
18
17
#[ default]
19
18
Unknown ,
20
19
}
21
20
22
-
23
-
24
21
fn read_version < S > ( stream : & mut S , tm : Option < Duration > ) -> SshResult < Vec < u8 > >
25
22
where
26
23
S : Read ,
You can’t perform that action at this time.
0 commit comments