Enum dbus_server_address_parser::UnixType[][src]

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.