SendChannel

Trait SendChannel 

Source
pub trait SendChannel: Send + 'static {
    // Required method
    fn send(&self, event: Event);
}
Available on crate feature shell only.
Expand description

Represents any object which can be used to send Event structures.

Required Methods§

Source

fn send(&self, event: Event)

Sends an Event to the underlying application.

§Arguments
  • event: the event to send.

returns: ()

Implementors§