Trait View
assemble_app
pub trait View: Sync + Send { pub fn start(params: HashMap<String, String>) -> Result<Self> where Self: Sized; pub fn event(&mut self, msg: &str, body: &[u8]) -> Result<()>; pub fn render(&self) -> Result<Html>; }
pub fn start(params: HashMap<String, String>) -> Result<Self> where Self: Sized,
pub fn event(&mut self, msg: &str, body: &[u8]) -> Result<()>
pub fn render(&self) -> Result<Html>