MCPcopy Create free account

hub / github.com/ProgrammingRust/async-chat / functions

Functions20 in github.com/ProgrammingRust/async-chat

↓ 3 callersFunctionget_next_token
Given a string `input`, return `Some((token, rest))`, where `token` is the first run of non-whitespace characters in `input`, and `rest` is the rest o
src/bin/client.rs:99
↓ 3 callersMethodsend
(&self, packet: FromServer)
src/bin/server/connection.rs:60
↓ 2 callersFunctionreceive_as_json
(inbound: S)
src/utils.rs:25
↓ 2 callersFunctionsend_as_json
(outbound: &mut S, packet: &P)
src/utils.rs:12
↓ 1 callersMethodget
(&self, name: &String)
src/bin/server/group_table.rs:12
↓ 1 callersMethodget_or_create
(&self, name: Arc<String>)
src/bin/server/group_table.rs:19
↓ 1 callersFunctionhandle_replies
(from_server: net::TcpStream)
src/bin/client.rs:31
↓ 1 callersFunctionhandle_subscriber
(group_name: Arc<String>, mut receiver: broadcast::Receiver<Arc<String>>,
src/bin/server/group.rs:39
↓ 1 callersMethodjoin
(&self, outbound: Arc<Outbound>)
src/bin/server/group.rs:19
↓ 1 callersFunctionlog_error
(result: ChatResult<()>)
src/bin/server/main.rs:39
↓ 1 callersFunctionparse_command
Parse a line (presumably read from the standard input) as a `Request`.
src/bin/client.rs:72
↓ 1 callersMethodpost
(&self, message: Arc<String>)
src/bin/server/group.rs:27
↓ 1 callersFunctionsend_commands
(mut to_server: net::TcpStream)
src/bin/client.rs:6
↓ 1 callersFunctionserve
(socket: TcpStream, groups: Arc<GroupTable>)
src/bin/server/connection.rs:12
Functionmain
()
src/bin/client.rs:51
Functionmain
()
src/bin/server/main.rs:15
Methodnew
(name: Arc<String>)
src/bin/server/group.rs:14
Methodnew
(to_client: TcpStream)
src/bin/server/connection.rs:56
Methodnew
()
src/bin/server/group_table.rs:8
Functiontest_fromclient_json
()
src/lib.rs:28