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

Method pending

crates/stdlib/src/openssl.rs:2652–2655  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

2650
2651 #[pymethod]
2652 fn pending(&self) -> i32 {
2653 let stream = self.connection.read();
2654 unsafe { sys::SSL_pending(stream.ssl().as_ptr()) }
2655 }
2656
2657 #[pymethod]
2658 fn shared_ciphers(&self, vm: &VirtualMachine) -> Option<PyListRef> {

Callers

nothing calls this directly

Calls 4

BIO_ctrl_pendingFunction · 0.85
sslMethod · 0.80
readMethod · 0.45
as_ptrMethod · 0.45

Tested by

no test coverage detected