Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Yengas/rust-chat-server
/ functions
Functions
143 in github.com/Yengas/rust-chat-server
⨍
Functions
143
◇
Types & classes
57
Method
name
(&self)
tui/src/ui_management/pages/chat_page/components/room_list.rs:134
Method
name
(&self)
tui/src/ui_management/pages/connect_page/connect_page.rs:81
Method
new
(writer: OwnedWriteHalf)
comms/src/transport/server.rs:26
Method
new
(writer: OwnedWriteHalf)
comms/src/transport/client.rs:26
Method
new
(interrupt_tx: broadcast::Sender<Interrupted>)
tui/src/termination.rs:17
Method
new
()
tui/src/ui_management/ui_manager.rs:34
Method
new
(_state: &State, _action_tx: UnboundedSender<Action>)
tui/src/ui_management/components/input_box.rs:84
Method
new
(state: &State, action_tx: UnboundedSender<Action>)
tui/src/ui_management/pages/mod.rs:58
Method
new
(state: &State, action_tx: UnboundedSender<Action>)
tui/src/ui_management/pages/chat_page/chat_page.rs:154
Method
new
(state: &State, action_tx: UnboundedSender<Action>)
tui/src/ui_management/pages/chat_page/components/message_input_box.rs:56
Method
new
(state: &State, action_tx: UnboundedSender<Action>)
tui/src/ui_management/pages/chat_page/components/room_list.rs:115
Method
new
(state: &State, action_tx: UnboundedSender<Action>)
tui/src/ui_management/pages/connect_page/connect_page.rs:54
Method
new
()
tui/src/state_store/state_store.rs:29
Method
new
(name: String, description: String)
tui/src/state_store/state.rs:45
Method
new
(chat_rooms: Vec<(ChatRoomMetadata, Arc<Mutex<ChatRoom>>)>)
server/src/room_manager/room_manager.rs:17
Method
new
()
server/src/room_manager/mod.rs:20
Method
new
(metadata: ChatRoomMetadata)
server/src/room_manager/room/chat_room.rs:28
Method
new
( room: String, broadcast_tx: broadcast::Sender<event::Event>, session_and_user_id: Se
server/src/room_manager/room/user_session_handle.rs:26
Method
new
()
server/src/room_manager/room/user_registry.rs:15
Method
new
(session_id: &str, user_id: &str, room_manager: Arc<RoomManager>)
server/src/session/chat_session.rs:25
Method
new
(items: Vec<T>)
server/examples/stress_test.rs:43
Method
process_connection_request_result
Processes the result of a connection request to change the state of the application
tui/src/state_store/state.rs:155
Method
render
(&self, frame: &mut Frame<B>, props: RenderProps)
tui/src/ui_management/components/input_box.rs:134
Method
render
(&self, frame: &mut Frame<B>, _props: ())
tui/src/ui_management/pages/chat_page/chat_page.rs:242
Method
render
(&self, frame: &mut Frame<B>, props: RenderProps)
tui/src/ui_management/pages/chat_page/components/message_input_box.rs:109
Method
render
(&self, frame: &mut Frame<B>, props: RenderProps)
tui/src/ui_management/pages/chat_page/components/room_list.rs:191
Method
render
(&self, frame: &mut Frame<B>, _props: ())
tui/src/ui_management/pages/connect_page/connect_page.rs:108
Function
split_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
Function
test_join_command
()
comms/src/command.rs:58
Function
test_leave_command
()
comms/src/command.rs:67
Function
test_login_successful_event
()
comms/src/event.rs:99
Function
test_message_command
()
comms/src/command.rs:76
Function
test_quit_command
()
comms/src/command.rs:86
Function
test_room_participation_join_event
()
comms/src/event.rs:116
Function
test_room_participation_leave_event
()
comms/src/event.rs:130
Function
test_user_joined_room_event
()
comms/src/event.rs:144
Function
test_user_message_event
()
comms/src/event.rs:157
Method
tick_timer
(&mut self)
tui/src/state_store/state.rs:174
Method
try_from
(value: usize)
tui/src/ui_management/pages/chat_page/chat_page.rs:41
Method
try_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
Method
usage_info
(&self)
tui/src/ui_management/pages/chat_page/components/message_input_box.rs:123
Method
usage_info
(&self)
tui/src/ui_management/pages/chat_page/components/room_list.rs:240
Method
write
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
← previous
101–143 of 143, ranked by callers