Merge "rust: add conversion between sync and async interfaces"