impl game over
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
use super::event;
|
||||
|
||||
pub trait Room {
|
||||
use std::fmt;
|
||||
|
||||
pub trait Room: fmt::Debug {
|
||||
fn rollback(&mut self, since: String);
|
||||
fn sync(&mut self) -> Vec<event::Event>;
|
||||
fn send(&mut self, message: String) -> Result<String, &str>;
|
||||
|
||||
Reference in New Issue
Block a user