Enum async_rustbus::DBusAddr[][src]

pub enum DBusAddr<P: AsRef<Path>, S: ToSocketAddrs, B: AsRef<[u8]>> {
    Path(P),
    Tcp(S),
    Abstract(B),
}
Expand description

A address for connecting to a DBus dubs. These can be file systems paths to a Unix socket, a TCP address, or an abstract Unix socket.

Variants

Path

Tuple Fields of Path

0: P
Tcp

Tuple Fields of Tcp

0: S
Abstract

Tuple Fields of Abstract

0: B

Implementations

Create a DbusAddr from a filesystem path.

Create a DbusAddr from a TCP socket address.

Create a DbusAddr from an abstract unix socket address.

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 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.