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

Method is_err

crates/vm/src/windows.rs:25–27  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

23impl WindowsSysResultValue for HANDLE {
24 type Ok = WinHandle;
25 fn is_err(&self) -> bool {
26 *self == INVALID_HANDLE_VALUE
27 }
28 fn into_ok(self) -> Self::Ok {
29 WinHandle(self)
30 }

Callers 15

kv_getFunction · 0.80
kv_putFunction · 0.80
printFunction · 0.80
run_shellFunction · 0.80
run_rustpythonFunction · 0.80
statisticsFunction · 0.80
process_python_libsFunction · 0.80
new_py_ssl_socketMethod · 0.80
should_keepMethod · 0.80
close_dir_fdsFunction · 0.80
close_filetable_fdsFunction · 0.80
createFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected