Rust 1.0+. You can check if the fs::metadata method succeeds: use std::fs; pub fn path_exists(path: &str) -> bool ...
確定! 回上一頁