pub struct HubUI {
pub hub_log: HubLog,
pub thread: Option<JoinHandle<()>>,
pub route_send: HubRouteSend,
pub htc_msgs_arc: Arc<Mutex<Vec<FromHubMsg>>>,
}Fields§
§hub_log: HubLog§thread: Option<JoinHandle<()>>§route_send: HubRouteSend§htc_msgs_arc: Arc<Mutex<Vec<FromHubMsg>>>Implementations§
Source§impl HubUI
impl HubUI
pub fn start_hub_ui_direct<F>( hub_router: &mut HubRouter, event_handler: F, ) -> HubUI
pub fn start_hub_ui_networked<F>( digest: Digest, hub_log: HubLog, event_handler: &'static F, ) -> HubUI
pub fn get_messages(&mut self) -> Option<Vec<FromHubMsg>>
Auto Trait Implementations§
impl Freeze for HubUI
impl !RefUnwindSafe for HubUI
impl Send for HubUI
impl Sync for HubUI
impl Unpin for HubUI
impl UnsafeUnpin for HubUI
impl !UnwindSafe for HubUI
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more