pub struct BusHandle {
pub tx: Sender<BusQuery>,
pub handle: Option<JoinHandle<()>>,
}Expand description
BusHandle is the external view of the bus
- holds the mpsc handle for sending data
Fields§
§tx: Sender<BusQuery>§handle: Option<JoinHandle<()>>Implementations§
Auto Trait Implementations§
impl Freeze for BusHandle
impl !RefUnwindSafe for BusHandle
impl Send for BusHandle
impl Sync for BusHandle
impl Unpin for BusHandle
impl !UnwindSafe for BusHandle
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