MCPcopy Index your code
hub / github.com/RustPython/RustPython / wants_read

Method wants_read

crates/stdlib/src/ssl/compat.rs:279–284  ·  view source on GitHub ↗

Check if connection wants to read data

(&self)

Source from the content-addressed store, hash-verified

277
278 /// Check if connection wants to read data
279 pub fn wants_read(&self) -> bool {
280 match self {
281 TlsConnection::Client(conn) => conn.wants_read(),
282 TlsConnection::Server(conn) => conn.wants_read(),
283 }
284 }
285
286 /// Check if connection wants to write data
287 pub fn wants_write(&self) -> bool {

Callers 4

handshake_read_dataFunction · 0.80
ssl_do_handshakeFunction · 0.80
ssl_readFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected