pub trait DirStructureItem {
// Provided methods
fn read(
path: impl AsRef<<FsVfs as VfsCore>::Path>,
) -> VfsResult<Self, FsVfs>
where Self: ReadFrom<'static, FsVfs> + Sized { ... }
fn write<'a, 'vfs: 'a>(
&'a self,
path: impl AsRef<<FsVfs as VfsCore>::Path>,
) -> VfsResult<(), FsVfs>
where Self: WriteTo<'vfs, FsVfs> { ... }
}Expand description
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.