pub enum UnixType {
Path(String),
Dir(String),
Tmpdir(String),
Abstract(String),
Runtime,
}
Variants§
Path(String)
Path of the unix domain socket.
Dir(String)
Directory in which a socket file with a random file name starting with dbus-
will be
created by the server.
Tmpdir(String)
The same as Dir
, except that on platforms with abstract sockets, the server may attempt
to create an abstract socket whose name starts with this directory instead of a path-based
socket.
Abstract(String)
Unique string in the abstract namespace, often syntactically resembling a path but unconnected to the filesystem namespace.
Runtime
XDG_RUNTIME_DIR
Implementations§
Source§impl UnixType
impl UnixType
pub fn is_connectable(&self) -> bool
pub fn is_listenable(&self) -> bool
Trait Implementations§
impl Eq for UnixType
impl StructuralPartialEq for UnixType
Auto Trait Implementations§
impl Freeze for UnixType
impl RefUnwindSafe for UnixType
impl Send for UnixType
impl Sync for UnixType
impl Unpin for UnixType
impl UnwindSafe for UnixType
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