#[repr(C)]pub struct sockaddr_un {
pub sun_family: sa_family_t,
pub sun_path: [c_char; 108],
}Expand description
See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_un.h.html.
§Implementation
Size of sun_path is 108 bytes.
Fields§
§sun_family: sa_family_tAddress family.
sun_path: [c_char; 108]Socket pathname storage.
Implementations§
Source§impl sockaddr_un
impl sockaddr_un
pub fn path_offset(&self) -> usize
Auto Trait Implementations§
impl Freeze for sockaddr_un
impl RefUnwindSafe for sockaddr_un
impl Send for sockaddr_un
impl Sync for sockaddr_un
impl Unpin for sockaddr_un
impl UnsafeUnpin for sockaddr_un
impl UnwindSafe for sockaddr_un
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