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

Function create_id

source
pub fn create_id(connection_index: usize) -> String
Expand description

Creates a connection ID based on the connection index and the current timestamp.

§Arguments

  • connection_index: The index of the connection in the allocator

§Returns

A string representing the connection ID