Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ getblocking
Method
getblocking
crates/stdlib/src/socket.rs:2221–2223 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
2219
2220
#[pymethod]
2221
fn getblocking(&self) -> bool {
2222
self.timeout.load() != 0.0
2223
}
2224
2225
#[pymethod]
2226
fn settimeout(&self, timeout: Option<ArgIntoFloat>, vm: &VirtualMachine) -> PyResult<()> {
Callers
3
_create
Method · 0.80
assert_sock_timeout
Method · 0.80
checkNonblock
Method · 0.80
Calls
1
load
Method · 0.45
Tested by
2
assert_sock_timeout
Method · 0.64
checkNonblock
Method · 0.64