pub struct UnixPath { /* private fields */ }Expand description
A Unix socket path in a fixed array (up to 108 bytes).
let path = net_io::UnixPath::new(b"/run/app.sock").unwrap();
assert_eq!(path.as_bytes(), b"/run/app.sock");Implementations§
Trait Implementations§
impl Copy for UnixPath
impl Eq for UnixPath
impl StructuralPartialEq for UnixPath
Auto Trait Implementations§
impl Freeze for UnixPath
impl RefUnwindSafe for UnixPath
impl Send for UnixPath
impl Sync for UnixPath
impl Unpin for UnixPath
impl UnsafeUnpin for UnixPath
impl UnwindSafe for UnixPath
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