pub trait DevicePathParent:
Sealed
+ Debug
+ Copy
+ Clone
+ PartialEq
+ Eq
+ Hash
+ Unpin {
// Required methods
fn parse_syspath(p: &Utf8Path) -> Option<Self>;
fn build_syspath(&self, p: &mut Utf8PathBuf);
}Expand description
A parent of a DevicePath. This can be either a DevicePath itself or
NoParent.
Required Methods§
fn parse_syspath(p: &Utf8Path) -> Option<Self>
fn build_syspath(&self, p: &mut Utf8PathBuf)
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.