Function tunapanel::serve [] [src]

pub fn serve<P, F>(f: F) -> Result<()> where
    P: Panel,
    F: Fn(P) + Sync + Send + 'static, 

Serve a panel.

f is the callback for panel updates.