pub struct WorkerComms<const N: usize> {
pub to_pc: Producer<'static, Result<ToPc, Error>, N>,
pub to_mcu: Consumer<'static, ToMcu, N>,
}Expand description
The Worker half of the the CommsLink type.
Fields§
§to_pc: Producer<'static, Result<ToPc, Error>, N>§to_mcu: Consumer<'static, ToMcu, N>Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> Freeze for WorkerComms<N>
impl<const N: usize> !RefUnwindSafe for WorkerComms<N>
impl<const N: usize> Send for WorkerComms<N>
impl<const N: usize> !Sync for WorkerComms<N>
impl<const N: usize> Unpin for WorkerComms<N>
impl<const N: usize> !UnwindSafe for WorkerComms<N>
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