pub trait OpaqueSender<T> {
    fn send(&self, message: T);
}
Expand description

A trait to abstract away the various kinds of message senders we use.

Required Methods§

source

fn send(&self, message: T)

Send a message.

Implementations on Foreign Types§

source§

impl<T> OpaqueSender<T> for Sender<T>

source§

fn send(&self, message: T)

source§

impl<T> OpaqueSender<T> for IpcSender<T>where
    T: Serialize,

source§

fn send(&self, message: T)

Implementors§