pub trait PathURITrait: ArchiveURITrait {
// Required method
fn as_path(&self) -> PathURIRef<'_>;
// Provided method
fn path(&self) -> Option<&Name> { ... }
}
Required Methodsยง
fn as_path(&self) -> PathURIRef<'_>
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.