Lines Matching defs:Result
8 pub(crate) type Result<T> = std::result::Result<T, Error>; typedef
17 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
47 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> { in create_dir_all()
78 pub(crate) fn remove_file(path: impl AsRef<Path>) -> Result<()> { in remove_file()
86 pub(crate) fn remove_dir(path: impl AsRef<Path>) -> Result<()> { in remove_dir()
97 fun: fn(&'a Path, &'a Path) -> io::Result<()>, in symlink()
98 ) -> Result<()> { in symlink()
110 pub(crate) fn symlink_fail(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_fail()
128 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_file()
133 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_file()
142 pub(crate) fn symlink_dir(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_dir()
150 pub(crate) fn write(path: impl AsRef<Path>, contents: impl AsRef<[u8]>) -> Result<()> { in write()