#[non_exhaustive]pub struct Address { /* private fields */ }
Expand description
A bus address
Implementations§
source§impl Address
impl Address
sourcepub fn session() -> Result<Self>
pub fn session() -> Result<Self>
Get the address for session socket respecting the DBUS_SESSION_BUS_ADDRESS environment variable. If we don’t recognize the value (or it’s not set) we fall back to $XDG_RUNTIME_DIR/bus
Trait Implementations§
source§impl PartialEq for Address
impl PartialEq for Address
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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