[][src]Function trassel::generate::gen_id

#[no_mangle]
pub fn gen_id() -> u64

This function calculates a unique scaleable identifier, simply input a interger thats diffrent for each process/server and this function returns a u64 object. This function should not run in paralell with the same server_id is it can cause conflicts.