surrealcs_kernel::logging::messages::connections::id

Function get_connection_index

source
pub fn get_connection_index(id: &str) -> usize
Expand description

Gets the connection index from the connection ID.

§Arguments

  • id: The connection ID

§Returns

The connection index