Enum async_rustbus::conn::DBusAddr
source · pub enum DBusAddr<P: AsRef<Path>, S: ToSocketAddrs, B: AsRef<[u8]>> {
Path(P),
Tcp(S),
Abstract(B),
}
Expand description
A address for connecting to a DBus dubs. These can be file systems paths to a Unix socket, a TCP address, or an abstract Unix socket.
Variants§
Implementations§
Auto Trait Implementations§
impl<P, S, B> RefUnwindSafe for DBusAddr<P, S, B>where B: RefUnwindSafe, P: RefUnwindSafe, S: RefUnwindSafe,
impl<P, S, B> Send for DBusAddr<P, S, B>where B: Send, P: Send, S: Send,
impl<P, S, B> Sync for DBusAddr<P, S, B>where B: Sync, P: Sync, S: Sync,
impl<P, S, B> Unpin for DBusAddr<P, S, B>where B: Unpin, P: Unpin, S: Unpin,
impl<P, S, B> UnwindSafe for DBusAddr<P, S, B>where B: UnwindSafe, P: UnwindSafe, S: UnwindSafe,
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