Struct rustix::net::SocketAddrUnix
pub struct SocketAddrUnix { /* fields hidden */ }Documentation
struct sockaddr_un
Implementations
impl SocketAddrUnix
pub fn new<P: path::Arg>(path: P) -> io::Result<Self>
Construct a new Unix-domain address from a byte slice. filesystem path.
Trait Implementations
impl Clone for SocketAddrUnix
fn clone(&Self) -> SocketAddrUniximpl Debug for SocketAddrUnix
fn fmt(&Self, fmt: &mut fmt::Formatter<'_>) -> fmt::Resultimpl Eq for SocketAddrUniximpl Hash for SocketAddrUnix
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl Ord for SocketAddrUnix
fn cmp(&Self, other: &SocketAddrUnix) -> $crate::cmp::Orderingimpl PartialEq<SocketAddrUnix> for SocketAddrUnix
fn eq(&Self, other: &SocketAddrUnix) -> boolfn ne(&Self, other: &SocketAddrUnix) -> boolimpl PartialOrd<SocketAddrUnix> for SocketAddrUnix
fn partial_cmp(&Self, other: &SocketAddrUnix) -> $crate::option::Option<$crate::cmp::Ordering>impl StructuralEq for SocketAddrUniximpl StructuralPartialEq for SocketAddrUnixAuto Trait Implementations
impl RefUnwindSafe for SocketAddrUniximpl Send for SocketAddrUniximpl Sync for SocketAddrUniximpl Unpin for SocketAddrUniximpl UnwindSafe for SocketAddrUnixBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T