pub trait PathNameType<S: ToOwned + ?Sized>: NameType {
// Required method
fn map(path: Cow<'_, S>) -> Result<Name<'_>>;
}
Expand description
Mappings from paths to local socket names.
Required 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.
Implementors§
impl PathNameType<CStr> for FilesystemUdSocket
Available on Unix only.
impl PathNameType<CStr> for GenericFilePath
Available on Unix only.
impl PathNameType<OsStr> for FilesystemUdSocket
Available on Unix only.