Struct anymsg::Pump [−][src]
pub struct Pump { /* fields omitted */ }
The primary object for managing the message protocol's initial state.
Methods
impl Pump
[src]
impl Pump
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn event_loop(&mut self, mapping: EventLoopMapping) -> EventLoop
[src]
pub fn event_loop(&mut self, mapping: EventLoopMapping) -> EventLoop
pub fn sender(&self) -> Sender
[src]
pub fn sender(&self) -> Sender
pub fn start(self) -> PumpThread
[src]
pub fn start(self) -> PumpThread