pub struct Unix { /* private fields */ }
Expand description
A Unix domain socket transport in a D-Bus address.
Implementations§
Source§impl Unix
impl Unix
Sourcepub fn new(path: UnixSocket) -> Self
pub fn new(path: UnixSocket) -> Self
Create a new Unix transport with the given path.
Sourcepub fn path(&self) -> &UnixSocket
pub fn path(&self) -> &UnixSocket
The path.
Sourcepub fn take_path(self) -> UnixSocket
pub fn take_path(self) -> UnixSocket
Take the path, consuming self
.
Trait Implementations§
impl Eq for Unix
impl StructuralPartialEq for Unix
Auto Trait Implementations§
impl Freeze for Unix
impl RefUnwindSafe for Unix
impl Send for Unix
impl Sync for Unix
impl Unpin for Unix
impl UnwindSafe for Unix
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