MCPcopy Create free account
hub / github.com/GCWing/BitFun / get_mut

Method get_mut

src/crates/adapters/webdriver/src/webdriver/session.rs:88–92  ·  view source on GitHub ↗
(&mut self, id: &str)

Source from the content-addressed store, hash-verified

86 }
87
88 pub fn get_mut(&mut self, id: &str) -> Result<&mut Session, WebDriverErrorResponse> {
89 self.sessions
90 .get_mut(id)
91 .ok_or_else(|| WebDriverErrorResponse::invalid_session_id(id))
92 }
93
94 pub fn delete(&mut self, id: &str) -> bool {
95 self.sessions.remove(id).is_some()

Callers 15

open_remote_workspaceFunction · 0.80
render_tree_textFunction · 0.80
insert_or_update_toolMethod · 0.80
update_toolMethod · 0.80
create_roomMethod · 0.80
send_to_desktopMethod · 0.80
on_disconnectMethod · 0.80
heartbeatMethod · 0.80

Calls

no outgoing calls

Tested by 1

post_handlerFunction · 0.64