[][src]Trait cerk::runtime::channel::Sender

pub trait Sender: Send {
    pub fn send(&self, event: BrokerEvent);
pub fn clone_boxed(&self) -> Box<dyn Sender + Send>; }

Wrapper for a platform-specific channel sender.

Required methods

pub fn send(&self, event: BrokerEvent)[src]

send a BrokerEvent to the channel receiver

pub fn clone_boxed(&self) -> Box<dyn Sender + Send>[src]

clones a sender and returns new boxed instance

open issues

  • https://github.com/ce-rust/cerk/issues/21
Loading content...

Implementors

Loading content...