pub struct DBusAddr<'a> { /* private fields */ }
Expand description
A parsed bus address.
The fields of this structure are references to the source. Using an crate::OwnedDBusAddr
may
be more convenient or if your context requires ’static lifetime.
Example:
use dbus_addr::DBusAddr;
let _: DBusAddr = "unix:path=/tmp/dbus.sock".try_into().unwrap();
Implementations§
Trait Implementations§
Source§impl<'a> ToDBusAddrs<'a> for DBusAddr<'a>
impl<'a> ToDBusAddrs<'a> for DBusAddr<'a>
impl<'a> Eq for DBusAddr<'a>
impl<'a> StructuralPartialEq for DBusAddr<'a>
Auto Trait Implementations§
impl<'a> Freeze for DBusAddr<'a>
impl<'a> RefUnwindSafe for DBusAddr<'a>
impl<'a> Send for DBusAddr<'a>
impl<'a> Sync for DBusAddr<'a>
impl<'a> Unpin for DBusAddr<'a>
impl<'a> UnwindSafe for DBusAddr<'a>
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