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
GetSocketPathError(Error)
An error while getting the socket path
SocketError(Error)
An error while accessing the socket
Trait Implementations
impl Debug for EstablishError
[src]
impl Error for EstablishError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more