Trait FilePath

Source
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,