#[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 the 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§
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)