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

Method as_str

crates/stdlib/src/_asyncio.rs:104–110  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

102
103 impl FutureState {
104 fn as_str(&self) -> &'static str {
105 match self {
106 FutureState::Pending => "PENDING",
107 FutureState::Cancelled => "CANCELLED",
108 FutureState::Finished => "FINISHED",
109 }
110 }
111 }
112
113 /// asyncio.Future implementation

Callers 15

basicFunction · 0.45
strcollFunction · 0.45
strxfrmFunction · 0.45
setlocaleFunction · 0.45
get_default_verify_pathsFunction · 0.45
set_ciphersMethod · 0.45
set_ecdh_curveMethod · 0.45
load_verify_locationsMethod · 0.45
new_py_ssl_socketMethod · 0.45
get_channel_bindingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected