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

Method is_bio_mode

crates/stdlib/src/ssl.rs:2382–2384  ·  view source on GitHub ↗

Check if this is BIO mode

(&self)

Source from the content-addressed store, hash-verified

2380 impl PySSLSocket {
2381 // Check if this is BIO mode
2382 pub(crate) fn is_bio_mode(&self) -> bool {
2383 self.incoming_bio.is_some() && self.outgoing_bio.is_some()
2384 }
2385
2386 // Get incoming BIO reference (for EOF checking)
2387 pub(crate) fn incoming_bio(&self) -> Option<PyObjectRef> {

Callers 9

get_socket_timeoutMethod · 0.80
sock_wait_for_io_implMethod · 0.80
shutdownMethod · 0.80
ssl_do_handshakeFunction · 0.80
ssl_readFunction · 0.80
ssl_writeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected