@@ -28,20 +28,20 @@ pub trait TcpClientStack {
28
28
) -> nb:: Result < ( ) , Self :: Error > ;
29
29
30
30
/// Determine if a socket is opened.
31
- ///
32
- /// Returns `Ok(true)` if the TCP socket is actively ingressing and egressing packets. This
33
- /// corresponds to any TCP state that is not `CLOSED` or `TIME-WAIT`.
31
+ ///
32
+ /// Returns `Ok(true)` if the TCP socket is actively ingressing and egressing packets. This
33
+ /// corresponds to any TCP state that is not `CLOSED` or `TIME-WAIT`.
34
34
fn is_open ( & mut self , socket : & Self :: TcpSocket ) -> Result < bool , Self :: Error > ;
35
35
36
- /// Check if the TCP socket can transmit data.
37
- ///
38
- /// Returns `Ok(true)` if the TCP transmit half is open and connected.
39
- fn may_send ( & mut self , socket : & Self :: TcpSocket ) -> Result < bool , Self :: Error > ;
36
+ /// Check if the TCP socket can transmit data.
37
+ ///
38
+ /// Returns `Ok(true)` if the TCP transmit half is open and connected.
39
+ fn may_send ( & mut self , socket : & Self :: TcpSocket ) -> Result < bool , Self :: Error > ;
40
40
41
- /// Check if the TCP socket can receive data.
42
- ///
43
- /// Returns `Ok(true)` if the TCP receive half is open and connected.
44
- fn may_receive ( & mut self , socket : & Self :: TcpSocket ) -> Result < bool , Self :: Error > ;
41
+ /// Check if the TCP socket can receive data.
42
+ ///
43
+ /// Returns `Ok(true)` if the TCP receive half is open and connected.
44
+ fn may_receive ( & mut self , socket : & Self :: TcpSocket ) -> Result < bool , Self :: Error > ;
45
45
46
46
/// Write to the stream.
47
47
///
0 commit comments