Function glommio::io::rename

source ·
pub async fn rename<P: AsRef<Path>, Q: AsRef<Path>>(
    old_path: P,
    new_path: Q
) -> Result<(), ()>
Expand description

rename an existing file.