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

Method is_bio_eof

crates/stdlib/src/openssl.rs:2462–2467  ·  view source on GitHub ↗

Check if incoming BIO has EOF (for BIO mode only)

(&self)

Source from the content-addressed store, hash-verified

2460
2461 // Check if incoming BIO has EOF (for BIO mode only)
2462 fn is_bio_eof(&self) -> bool {
2463 match self {
2464 SslConnection::Socket(_) => false,
2465 SslConnection::Bio(stream) => stream.get_ref().inbio.eof_written.load(),
2466 }
2467 }
2468 }
2469
2470 #[pyattr]

Callers 1

readMethod · 0.80

Calls 2

get_refMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected