INNER CODE UNIT · Rust
websocket_to_table
flosse/rust-web-framework-comparison · src/main.rs:378
fn websocket_to_table<'a>(websocket: &[&WebSocket]) -> table::Table {
let mut rows = vec![vec![
"Name".to_string(),
"Repo".to_string(),
"Docs".to_string(),
"License".to_string(),
"Version".to_string(),
"Stars".to_string(),
"Contributors".to_string(),
"Activity".to_string(),
"Client".to_string(),
"Server".to_string(),
"Async".to_string(),
]];
for s in websocket {
let WebSocket {
name,