[][src]Trait weasel::event::ServerSink

pub trait ServerSink<R: BattleRules>: EventSink {
    fn send(&mut self, event: &ClientEventPrototype<R>) -> WeaselResult<(), R>;
}

An output sink to dump tentative events to a server.

Required methods

fn send(&mut self, event: &ClientEventPrototype<R>) -> WeaselResult<(), R>

Sends a client event prototype to a remote or local server.

Loading content...

Implementors

Loading content...