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> {
2828 End ,
2929}
3030
31- // TODO unexpose , maybe without Client ?
31+ // TODO unhide , maybe without ClientSession ?
3232
3333impl < IO > TlsStream < IO > {
3434 #[ inline]
35- pub fn get_ref ( & self ) -> ( & IO , & ClientSession ) {
35+ fn get_ref ( & self ) -> ( & IO , & ClientSession ) {
3636 ( & self . io , & self . session )
3737 }
3838
3939 #[ inline]
40- pub fn get_mut ( & mut self ) -> ( & mut IO , & mut ClientSession ) {
40+ fn get_mut ( & mut self ) -> ( & mut IO , & mut ClientSession ) {
4141 ( & mut self . io , & mut self . session )
4242 }
4343
4444 #[ inline]
45- pub fn into_inner ( self ) -> ( IO , ClientSession ) {
45+ fn into_inner ( self ) -> ( IO , ClientSession ) {
4646 ( self . io , self . session )
4747 }
4848}
Original file line number Diff line number Diff line change @@ -24,20 +24,20 @@ pub(crate) enum MidHandshake<IO> {
2424 End ,
2525}
2626
27- // TODO unexpose , maybe without ServerSession?
27+ // TODO unhide , maybe without ServerSession?
2828impl < IO > TlsStream < IO > {
2929 #[ inline]
30- pub fn get_ref ( & self ) -> ( & IO , & ServerSession ) {
30+ fn get_ref ( & self ) -> ( & IO , & ServerSession ) {
3131 ( & self . io , & self . session )
3232 }
3333
3434 #[ inline]
35- pub fn get_mut ( & mut self ) -> ( & mut IO , & mut ServerSession ) {
35+ fn get_mut ( & mut self ) -> ( & mut IO , & mut ServerSession ) {
3636 ( & mut self . io , & mut self . session )
3737 }
3838
3939 #[ inline]
40- pub fn into_inner ( self ) -> ( IO , ServerSession ) {
40+ fn into_inner ( self ) -> ( IO , ServerSession ) {
4141 ( self . io , self . session )
4242 }
4343}
You can’t perform that action at this time.
0 commit comments