Struct bui_backend::highlevel::BuiAppInner
[−]
[src]
pub struct BuiAppInner<T> where
T: Clone + PartialEq + Serialize, { /* fields omitted */ }
Maintain state within a BUI application.
Methods
impl<T> BuiAppInner<T> where
T: Clone + PartialEq + Serialize + 'static,
[src]
T: Clone + PartialEq + Serialize + 'static,
[src]
Get reference counted reference to the underlying data store.
pub fn bui_service(&self) -> &BuiService
[src]
Get reference to to the underlying BuiService
.
pub fn hyper_server(&self) -> &Server<NewBuiService, Body>
[src]
Get reference to the underlying hyper server.
pub fn into_hyper_server(self) -> Server<NewBuiService, Body>
[src]
Drop self and return only the underlying hyper server.
pub fn add_callback_listener(
&mut self,
channel_size: usize
) -> Receiver<CallbackDataAndSession>
[src]
&mut self,
channel_size: usize
) -> Receiver<CallbackDataAndSession>
Get a stream of callback events.