Function rename_sync

Source
pub fn rename_sync(from: &str, to: &str) -> Result<(), JsValue>