Function read_link

async fn read_link<impl AsRef<Path>: AsRef<std::path::Path>>(path: impl AsRef<Path>) -> Result<PathBuf>

Reads a symbolic link, returning the file that the link points to.

This is an async version of std::fs::read_link.