pub trait ToNsName<'s, S: ToOwned + ?Sized> {
// Required method
fn to_ns_name<NT: NamespacedNameType<S>>(self) -> Result<Name<'s>>;
}Expand description
Conversion to a namespaced local socket name.
Required Methods§
Sourcefn to_ns_name<NT: NamespacedNameType<S>>(self) -> Result<Name<'s>>
fn to_ns_name<NT: NamespacedNameType<S>>(self) -> Result<Name<'s>>
Performs the conversion to a namespaced name.
Fails if the resulting name isn’t supported by the platform.
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.