pub enum GenericNamespaced {}
Expand description
Consistent platform-specific mapping from arbitrary OS strings to local socket names.
This name type, like GenericFilePath
is designed to be always supported on all platforms,
whatever it takes. What follows below is a complete description of how that is implemented.
§Platform-specific behavior
§Windows
Resolves to named pipe names by prepending \\.\pipe\
(thus, only local named pipes are
addressable).
§Linux
Resolves to the abstract namespace with no string transformations and thus has a maximum length of 107 bytes.
§Other Unices
Resolves to filesystem paths by prepending /tmp/
.
Trait Implementations§
Source§impl Clone for GenericNamespaced
impl Clone for GenericNamespaced
Source§fn clone(&self) -> GenericNamespaced
fn clone(&self) -> GenericNamespaced
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GenericNamespaced
impl Debug for GenericNamespaced
Source§impl NameType for GenericNamespaced
impl NameType for GenericNamespaced
Source§fn is_supported() -> bool
fn is_supported() -> bool
Whether the name type is supported within the runtime circumstances of the program. Read more
Source§impl NamespacedNameType<CStr> for GenericNamespaced
Available on Unix only.
impl NamespacedNameType<CStr> for GenericNamespaced
Available on Unix only.
Source§impl NamespacedNameType<OsStr> for GenericNamespaced
impl NamespacedNameType<OsStr> for GenericNamespaced
Source§impl PartialEq for GenericNamespaced
impl PartialEq for GenericNamespaced
impl Copy for GenericNamespaced
impl Eq for GenericNamespaced
impl StructuralPartialEq for GenericNamespaced
Auto Trait Implementations§
impl Freeze for GenericNamespaced
impl RefUnwindSafe for GenericNamespaced
impl Send for GenericNamespaced
impl Sync for GenericNamespaced
impl Unpin for GenericNamespaced
impl UnwindSafe for GenericNamespaced
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more