Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aedm/esp32-s3-rust-axum-example
/ functions
Functions
9 in github.com/aedm/esp32-s3-rust-axum-example
⨍
Functions
9
◇
Types & classes
4
↓ 1 callers
Function
async_main
()
src/main.rs:37
↓ 1 callers
Method
ip_addr
(&self)
src/wifi.rs:29
Method
connect
Connect to Wi-Fi and stay connected. This function will loop forever.
src/wifi.rs:94
Function
get_state
Handler for the /state route
src/server.rs:33
Method
load
()
src/config.rs:10
Function
main
()
build.rs:1
Function
main
We can't use #[tokio::main] since we need to initialize eventfd before starting the tokio runtime.
src/main.rs:15
Method
new
Initialize the Wi-Fi driver but do not connect yet.
src/wifi.rs:42
Function
run_server
Starts the server. This function only returns in case of an error.
src/server.rs:15