Function tarantool::fiber::name

source ·
pub fn name() -> String
Expand description

Returns the name of the current fiber.

NOTE: if has_fiber_id returns false this function uses an inefficient implementation based on the lua api.

NOTE: it uses String::from_utf8_lossy to convert from the c-string, so the data may differ from the actual.