Rust enhancements

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>