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

Function create_ssl_want_write_error

crates/stdlib/src/ssl/error.rs:112–118  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

110 }
111
112 pub fn create_ssl_want_write_error(vm: &VirtualMachine) -> PyRef<PyOSError> {
113 vm.new_os_subtype_error(
114 PySSLWantWriteError::class(&vm.ctx).to_owned(),
115 Some(SSL_ERROR_WANT_WRITE),
116 "The operation did not complete (write)",
117 )
118 }
119
120 pub fn create_ssl_eof_error(vm: &VirtualMachine) -> PyRef<PyOSError> {
121 vm.new_os_subtype_error(

Callers 7

shutdownMethod · 0.85
convert_ssl_errorFunction · 0.85
send_tls_outputMethod · 0.85
readMethod · 0.85
writeMethod · 0.85
into_py_errMethod · 0.85

Calls 3

new_os_subtype_errorMethod · 0.80
SomeClass · 0.50
to_ownedMethod · 0.45

Tested by

no test coverage detected