pub trait DirGuard {
// Required method
fn path(&self) -> &PathBuf;
}Expand description
DirGuard is provided by the PuffinReader to access the directory in the filesystem.
Users should hold the DirGuard until they are done with the directory.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".