Trait Connect
i3_ipc
pub trait Connect { type Stream: I3IPC; fn connect() -> Result<Self::Stream, Error>; }
Types implementing this are provided a connect function and return a stream
type Stream: I3IPC
fn connect() -> Result<Self::Stream, Error>
impl Connect for I3
Provides the connect method for I3
connect
I3
type Stream = I3Stream
fn connect() -> Result<I3Stream>