Enum i3ipc::EstablishError [] [src]

pub enum EstablishError {
    GetSocketPathError(Error),
    SocketError(Error),
}

An error initializing a connection.

It first involves first getting the i3 socket path, then connecting to the socket. Either part could go wrong which is why there are two possibilities here.

Variants

An error while getting the socket path

An error while accessing the socket

Trait Implementations

impl Debug for EstablishError
[src]

[src]

Formats the value using the given formatter.

impl Error for EstablishError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl Display for EstablishError
[src]

[src]

Formats the value using the given formatter. Read more