pub enum UnixSocketAddr {
Unnamed,
Abstract(Arc<[u8]>),
Path(Arc<str>),
}Expand description
Address for a Unix domain socket.
Variants§
Unnamed
Unnamed (anonymous) socket.
Abstract(Arc<[u8]>)
Abstract namespace address.
Path(Arc<str>)
Filesystem path address.
Trait Implementations§
Source§impl Clone for UnixSocketAddr
impl Clone for UnixSocketAddr
Source§fn clone(&self) -> UnixSocketAddr
fn clone(&self) -> UnixSocketAddr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnixSocketAddr
impl Debug for UnixSocketAddr
Source§impl Default for UnixSocketAddr
impl Default for UnixSocketAddr
Source§fn default() -> UnixSocketAddr
fn default() -> UnixSocketAddr
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UnixSocketAddr
impl RefUnwindSafe for UnixSocketAddr
impl Send for UnixSocketAddr
impl Sync for UnixSocketAddr
impl Unpin for UnixSocketAddr
impl UnsafeUnpin for UnixSocketAddr
impl UnwindSafe for UnixSocketAddr
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