MCPcopy Create free account

hub / github.com/Yengas/rust-chat-server / functions

Functions143 in github.com/Yengas/rust-chat-server

Methodname
(&self)
tui/src/ui_management/pages/chat_page/components/room_list.rs:134
Methodname
(&self)
tui/src/ui_management/pages/connect_page/connect_page.rs:81
Methodnew
(writer: OwnedWriteHalf)
comms/src/transport/server.rs:26
Methodnew
(writer: OwnedWriteHalf)
comms/src/transport/client.rs:26
Methodnew
(interrupt_tx: broadcast::Sender<Interrupted>)
tui/src/termination.rs:17
Methodnew
()
tui/src/ui_management/ui_manager.rs:34
Methodnew
(_state: &State, _action_tx: UnboundedSender<Action>)
tui/src/ui_management/components/input_box.rs:84
Methodnew
(state: &State, action_tx: UnboundedSender<Action>)
tui/src/ui_management/pages/mod.rs:58
Methodnew
(state: &State, action_tx: UnboundedSender<Action>)
tui/src/ui_management/pages/chat_page/chat_page.rs:154
Methodnew
(state: &State, action_tx: UnboundedSender<Action>)
tui/src/ui_management/pages/chat_page/components/message_input_box.rs:56
Methodnew
(state: &State, action_tx: UnboundedSender<Action>)
tui/src/ui_management/pages/chat_page/components/room_list.rs:115
Methodnew
(state: &State, action_tx: UnboundedSender<Action>)
tui/src/ui_management/pages/connect_page/connect_page.rs:54
Methodnew
()
tui/src/state_store/state_store.rs:29
Methodnew
(name: String, description: String)
tui/src/state_store/state.rs:45
Methodnew
(chat_rooms: Vec<(ChatRoomMetadata, Arc<Mutex<ChatRoom>>)>)
server/src/room_manager/room_manager.rs:17
Methodnew
()
server/src/room_manager/mod.rs:20
Methodnew
(metadata: ChatRoomMetadata)
server/src/room_manager/room/chat_room.rs:28
Methodnew
( room: String, broadcast_tx: broadcast::Sender<event::Event>, session_and_user_id: Se
server/src/room_manager/room/user_session_handle.rs:26
Methodnew
()
server/src/room_manager/room/user_registry.rs:15
Methodnew
(session_id: &str, user_id: &str, room_manager: Arc<RoomManager>)
server/src/session/chat_session.rs:25
Methodnew
(items: Vec<T>)
server/examples/stress_test.rs:43
Methodprocess_connection_request_result
Processes the result of a connection request to change the state of the application
tui/src/state_store/state.rs:155
Methodrender
(&self, frame: &mut Frame<B>, props: RenderProps)
tui/src/ui_management/components/input_box.rs:134
Methodrender
(&self, frame: &mut Frame<B>, _props: ())
tui/src/ui_management/pages/chat_page/chat_page.rs:242
Methodrender
(&self, frame: &mut Frame<B>, props: RenderProps)
tui/src/ui_management/pages/chat_page/components/message_input_box.rs:109
Methodrender
(&self, frame: &mut Frame<B>, props: RenderProps)
tui/src/ui_management/pages/chat_page/components/room_list.rs:191
Methodrender
(&self, frame: &mut Frame<B>, _props: ())
tui/src/ui_management/pages/connect_page/connect_page.rs:108
Functionsplit_tcp_stream
Splits a TCP stream into a stream of events and a command writer. # Arguments - `stream` - A [TcpStream] to split
comms/src/transport/client.rs:54
Functiontest_join_command
()
comms/src/command.rs:58
Functiontest_leave_command
()
comms/src/command.rs:67
Functiontest_login_successful_event
()
comms/src/event.rs:99
Functiontest_message_command
()
comms/src/command.rs:76
Functiontest_quit_command
()
comms/src/command.rs:86
Functiontest_room_participation_join_event
()
comms/src/event.rs:116
Functiontest_room_participation_leave_event
()
comms/src/event.rs:130
Functiontest_user_joined_room_event
()
comms/src/event.rs:144
Functiontest_user_message_event
()
comms/src/event.rs:157
Methodtick_timer
(&mut self)
tui/src/state_store/state.rs:174
Methodtry_from
(value: usize)
tui/src/ui_management/pages/chat_page/chat_page.rs:41
Methodtry_set_active_room
Tries to set the active room as the given room. Returns the [RoomData] associated to the room.
tui/src/state_store/state.rs:165
Methodusage_info
(&self)
tui/src/ui_management/pages/chat_page/components/message_input_box.rs:123
Methodusage_info
(&self)
tui/src/ui_management/pages/chat_page/components/room_list.rs:240
Methodwrite
Send a [crate::command::UserCommand] to the backing [TcpStream] # Cancel Safety This method is not cancellation safe. If it is used as the event in
comms/src/transport/client.rs:39
← previous101–143 of 143, ranked by callers