Trait IpcExt

Source
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>>;
}

Required Methods§

Source

fn send_data<T: Into<Vec<u8>>>(&self, data: T) -> R

Source

fn response<T: Into<Vec<u8>>>(&self, data: T) -> R

Source

fn send_data_res<T: Into<Vec<u8>>>(&self, data: T) -> R<Vec<u8>>

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 IpcExt for OsIpcSender

Source§

fn send_data<T: Into<Vec<u8>>>(&self, data: T) -> R

Source§

fn response<T: Into<Vec<u8>>>(&self, data: T) -> R

Source§

fn send_data_res<T: Into<Vec<u8>>>(&self, data: T) -> R<Vec<u8>>

Implementors§