pub trait IpcExt {
// Required methods
fn send_data<T: Into<Vec<u8>>>(&self, data: T) -> R;
fn response<T: Into<Vec<u8>>>(&self, data: T) -> R;
fn send_data_res<T: Into<Vec<u8>>>(&self, data: T) -> R<Vec<u8>>;
}pub trait IpcExt {
// Required methods
fn send_data<T: Into<Vec<u8>>>(&self, data: T) -> R;
fn response<T: Into<Vec<u8>>>(&self, data: T) -> R;
fn send_data_res<T: Into<Vec<u8>>>(&self, data: T) -> R<Vec<u8>>;
}