Struct gjio::EventPort [] [src]

pub struct EventPort {
    // some fields omitted
}

Source of events from the outside world. Implements gj::EventPort.

Methods

impl EventPort
[src]

fn new() -> Result<EventPortError>

fn get_network(&self) -> Network

fn get_timer(&self) -> Timer

Trait Implementations

impl EventPort<Error> for EventPort
[src]

fn wait(&mut self) -> Result<()Error>

Waits for an external event to arrive, blocking the thread if necessary.