Struct rlbot::Packeteer[][src]

pub struct Packeteer<'a> { /* fields omitted */ }

An iterator-like object that yields LiveDataPackets from the game as they occur.

Methods

impl<'a> Packeteer<'a>
[src]

Block until we receive the next unique LiveDataPacket, and then return it.

Errors

This function returns an error if five seconds pass without a new packet being received. The assumption is that the game froze or crashed, and waiting longer will not help.

Auto Trait Implementations

impl<'a> !Send for Packeteer<'a>

impl<'a> !Sync for Packeteer<'a>