[−][src]Crate i3ipc_types
Crate contains types and implementations for communicating with i3.
Also contained is protocol level communication using io::Read
and Write
Modules
event | For subscribing and receiving events, each struct matches a particular
|
msg | For sending messages to i3 |
reply | Contains structs for deserializing messages from i3 |
Structs
MsgResponse | Instead of returning an enum, we're returning a struct containing the |
Constants
MAGIC |
Traits
Connect | Types implementing this are provided a connect function and return a stream |
I3IPC | Trait containing methods to encode and decode message from i3 |
I3Protocol |
Functions
decode_event | Given an event type and payload this function will deserialize the proper struct |
socket_path | get socket path from i3 |