pub trait SubDirs: ToPath {
type Target;
// Required method
fn append_subdir_str(
self: Arc<Self>,
file_name: &str,
) -> Result<Self::Target>;
// Provided method
fn sub_dirs(
self: &Arc<Self>,
) -> Result<impl Iterator<Item = Result<Self::Target>>> { ... }
}Required Associated Types§
Required Methods§
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.