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

Function is_blocking_io_error

crates/stdlib/src/ssl/compat.rs:1002–1004  ·  view source on GitHub ↗

Helper function - check if error is BlockingIOError

(err: &Py<PyBaseException>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1000
1001/// Helper function - check if error is BlockingIOError
1002pub(super) fn is_blocking_io_error(err: &Py<PyBaseException>, vm: &VirtualMachine) -> bool {
1003 err.fast_isinstance(vm.ctx.exceptions.blocking_io_error)
1004}
1005
1006// Socket I/O Helper Functions
1007

Callers 9

send_tls_outputMethod · 0.85
try_read_close_notifyMethod · 0.85
send_all_bytesFunction · 0.85
recv_one_tls_recordFunction · 0.85
handshake_read_dataFunction · 0.85

Calls 1

fast_isinstanceMethod · 0.80

Tested by

no test coverage detected