pub async fn start() -> Result<()>Expand description
Contains entrypoint and initializer settings to trigger the asynchronous HTTPServer
§Examples
#[actix_rt::main]
async fn main() {
match rustream::start().await {
Ok(_) => {
println!("RuStream session terminated")
}
Err(err) => {
eprintln!("Error starting rustream: {}", err)
}
}
}