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

Method owner

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

Source from the content-addressed store, hash-verified

2490 impl PySslSocket {
2491 #[pygetset]
2492 fn owner(&self) -> Option<PyObjectRef> {
2493 self.owner.read().as_ref().and_then(|weak| weak.upgrade())
2494 }
2495 #[pygetset(setter)]
2496 fn set_owner(&self, owner: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {
2497 let mut lock = self.owner.write();

Callers

nothing calls this directly

Calls 3

as_refMethod · 0.45
readMethod · 0.45
upgradeMethod · 0.45

Tested by

no test coverage detected