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

Function builder_as_ctx

crates/stdlib/src/openssl.rs:907–909  ·  view source on GitHub ↗
(x: &SslContextBuilder)

Source from the content-addressed store, hash-verified

905 }
906
907 fn builder_as_ctx(x: &SslContextBuilder) -> &ssl::SslContextRef {
908 unsafe { ssl::SslContextRef::from_ptr(x.as_ptr()) }
909 }
910
911 impl Constructor for PySslContext {
912 type Args = i32;

Callers 1

set_check_hostnameMethod · 0.85

Calls 1

as_ptrMethod · 0.45

Tested by

no test coverage detected