Trait I3IPC

Source
pub trait I3IPC:
    Read
    + Write
    + I3Protocol {
    // Provided method
    fn decode_msg(&mut self) -> Result<(u32, Vec<u8>), Error> { ... }
}
Expand description

Trait containing methods to encode and decode message from i3

Provided Methods§

Source

fn decode_msg(&mut self) -> Result<(u32, Vec<u8>), Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl I3IPC for UnixStream

implement I3IPC for std UnixStream

Implementors§