File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -28,21 +28,21 @@ pub(crate) enum MidHandshake<IO> {
28
28
End ,
29
29
}
30
30
31
- // TODO unexpose , maybe without Client ?
31
+ // TODO unhide , maybe without ClientSession ?
32
32
33
33
impl < IO > TlsStream < IO > {
34
34
#[ inline]
35
- pub fn get_ref ( & self ) -> ( & IO , & ClientSession ) {
35
+ fn get_ref ( & self ) -> ( & IO , & ClientSession ) {
36
36
( & self . io , & self . session )
37
37
}
38
38
39
39
#[ inline]
40
- pub fn get_mut ( & mut self ) -> ( & mut IO , & mut ClientSession ) {
40
+ fn get_mut ( & mut self ) -> ( & mut IO , & mut ClientSession ) {
41
41
( & mut self . io , & mut self . session )
42
42
}
43
43
44
44
#[ inline]
45
- pub fn into_inner ( self ) -> ( IO , ClientSession ) {
45
+ fn into_inner ( self ) -> ( IO , ClientSession ) {
46
46
( self . io , self . session )
47
47
}
48
48
}
Original file line number Diff line number Diff line change @@ -24,20 +24,20 @@ pub(crate) enum MidHandshake<IO> {
24
24
End ,
25
25
}
26
26
27
- // TODO unexpose , maybe without ServerSession?
27
+ // TODO unhide , maybe without ServerSession?
28
28
impl < IO > TlsStream < IO > {
29
29
#[ inline]
30
- pub fn get_ref ( & self ) -> ( & IO , & ServerSession ) {
30
+ fn get_ref ( & self ) -> ( & IO , & ServerSession ) {
31
31
( & self . io , & self . session )
32
32
}
33
33
34
34
#[ inline]
35
- pub fn get_mut ( & mut self ) -> ( & mut IO , & mut ServerSession ) {
35
+ fn get_mut ( & mut self ) -> ( & mut IO , & mut ServerSession ) {
36
36
( & mut self . io , & mut self . session )
37
37
}
38
38
39
39
#[ inline]
40
- pub fn into_inner ( self ) -> ( IO , ServerSession ) {
40
+ fn into_inner ( self ) -> ( IO , ServerSession ) {
41
41
( self . io , self . session )
42
42
}
43
43
}
You can’t perform that action at this time.
0 commit comments