Function tarantool::fiber::name_of

source ·
pub fn name_of(id: FiberId) -> Option<String>
Expand description

Returns the name of the fiber with the given id.

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.