pub trait FilePath {
    // Required method
    fn file_path(&self) -> &PathBuf;
}
Expand description

Trait for types that can synchronously determine the file path.

Required Methods§

source

fn file_path(&self) -> &PathBuf

Obtains the path of the temporary file.

Implementations on Foreign Types§

source§

impl FilePath for TempFile

Available on crate feature async-tempfile only.

Implementors§

source§

impl<T> FilePath for SharedFile<T>where T: FilePath,